- Drop this in to a demo
project.on({
load: () => {
project.dependencyStore.on({
beforeUpdate: data => {
return false
}
});
}
})
- Draw a dependency.
See that the dependency was not created as expected but the tasks were rescheduled as if it was. crudStoreHasChanges() will report that there are changes, it looks like a broken change set was inserted which causes issues saving as well.
It would be expected that returning false from beforeUpdate would result in nothing at all happening after the user draws a link.