support
support copied to clipboard
Duration from applied remote change gets reverted
Steps to reproduce on advanced demo:
- enable transactions
gantt.enableTransactionalFeatures = true
- open task editor on task
Setup load balancer
- move task one day ahead, keep window open
- execute this in the console
gantt.project.queue(() => gantt.project.applyProjectChanges({ tasks : { updated : [{ id : 13, duration : 4 }] } }))
- press
save
You will see task still have duration of 3 days while it should be actually 4. Essentially it is the same problem as #7801 but now on STM level - when we redo the action we apply start, end, constraint date and type which cause duration to be calculated