Premium support for our pure JavaScript UI components


Post by guillaume.morin »

Hello,

Let's say we have 3 dependent events, all done in sequence (default Finish-to-Start):
[Task 1]-->[Task 2]-->[Task 3]

When I first load this in the scheduler, they are all scheduled back to back. - OK

Now if I drag the Task 3 further in the future, it creates a gap with Task 2, and the Task 3 new start date is saved correctly into the backend. - OK

Now if I reload the browser page, the Task 3 is put back right next to Task 2, loosing the manual adjustment that was made by the user.

Is this the expected behaviour ?
How can I keep manual adjustment (creating gap between dependencies) made by the user ?


Post by tasnim »

Hi,

That is not an expected behavior. I'm not able to reproduce it. Can you please upload a runnable test case so we can reproduce and debug it?


Post by arcady »

Sounds like you don't persist all the modified fields. Namely in this case please make sure you do save: constraintType and constraintDate fields.


Post by guillaume.morin »

arcady wrote: Thu Mar 30, 2023 6:58 am

Sounds like you don't persist all the modified fields. Namely in this case please make sure you do save: constraintType and constraintDate fields.

Ahhh, yes exactly, I was not persisting and returning those fields.
Thanks!


Post Reply