Skip to content

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

@bcaudan

Description

@bcaudan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions