Steps to reproduce:
- Load the Basic demo
- change the ProjectModel config to this:
const project = new ProjectModel({ autoSync: true, transport : { load : { url : '../_datasets/launch-saas.json' }, sync : { url: 'sync', } }, ...
- Edit the "Install Apache" task
- Add an assignment row but leave it as is
- Cancel the task editor
- Edit the "Configure Firewall" task
- Add an assignment row, and set its resource
- Watch the network monitor
- Hit save
Actual result:
A removed row in the sync request:
{
"type": "sync",
"requestId": 15905884290632,
"assignments": {
"added": [{
"units": 100,
"event": 12,
"resource": 2,
"$PhantomId": "_generated_0x4d274a2"
}],
"removed": [{
"id": "_generated_0x4d274a1"
}]
}
}
Expected result:
Only the actually added row in the sync request:
{
"type": "sync",
"requestId": 15905884290632,
"assignments": {
"added": [{
"units": 100,
"event": 12,
"resource": 2,
"$PhantomId": "_generated_0x4d274a2"
}]
}
}