Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply change: Error when switching 2 items in array #10

Closed
bcaudan opened this issue Feb 12, 2014 · 1 comment · Fixed by #12
Closed

Apply change: Error when switching 2 items in array #10

bcaudan opened this issue Feb 12, 2014 · 1 comment · Fixed by #12

Comments

@bcaudan
Copy link

bcaudan commented Feb 12, 2014

I have this object:

{
    "id": "Release",
    "phases": [{
        "id": "Phase1",
        "tasks": [
          {"id": "Task1"}, 
          {"id": "Task2"}
        ]
    }, {
        "id": "Phase2",
        "tasks": [
          {"id": "Task3"}
        ]
    }]
}

When I try to apply the switch of 'Phase1' and 'Phase2' in 'phases', an error is thrown in 'applyArrayChange'.

I made a plunker of it: http://plnkr.co/edit/2eu6EeujOZOwxp0jewpl?p=preview

paulpflug added a commit to paulpflug/diff that referenced this issue Mar 11, 2014
[fixed problem with nested arrays](flitbit#10)
paulpflug added a commit to paulpflug/diff that referenced this issue Mar 11, 2014
@paulpflug
Copy link
Contributor

sorry for this mess ;)

paulpflug added a commit to paulpflug/diff that referenced this issue Mar 12, 2014
paulpflug added a commit to paulpflug/diff that referenced this issue Mar 12, 2014
flitbit pushed a commit that referenced this issue Mar 12, 2014
flitbit pushed a commit that referenced this issue Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants