Changes to start/end of the dependent tasks are ignored which does not allow it to pass the filter #7994
Labels
bug
Something isn't working
high-priority
Urgent to have fixed
large-account
Reported by large customer
OEM
OEM customer
resolved
Fixed but not yet released (available in the nightly builds)
Milestone
Reproducible on advanced demo:
gantt.project.acceptChanges()
c = gantt.project.changes
after 01/16/2019
. note 1.1.3 and 1.1.4 disappear (expected)gantt.project.applyProjectChanges(c)
. 1.1.3 should become visible, but it does notgantt.project.applyProjectChanges({ tasks : { updated : [{ id : 13, constraintDate : '2019-01-17', constraintType : 'startnoearlierthan', startDate : '2019-01-17' }] } })
. note 1.1.3 becomes visibleReason for this is that 1.1.3 was moved ahead by its predecessor and thus got only
startDate
andendDate
fields in the changeset. However, those fields are stripped byapplyProjectChanges
method. Probably because applyingstartDate
as part of changeset will set a constraint on a record.Again, as with #7801 we are looking at a problem where we cannot safely feed data to an engine, because engine treats data as user input always and will attempt to run extra validation logic (put constraint, recalculate duration, etc).
The text was updated successfully, but these errors were encountered: