Premium support for our pure JavaScript UI components
Hi,
Please see attached sample project (based on the React Basic example).
How to trigger bug:
Move a task somewhere else (in the left side grid panel) using drag and drop. Now do it again - move the same (!!) task somewhere else. The second time we move a task the code fails because tasks being dragged and dropped are removed from args.project.tasks in the OnDataChange handler.
Why are tasks no longer accessible through args.project.tasks after having been dragged and dropped? If this is not a bug, what are my alternatives?
-- Thanks
-
Attachments
-
- src2.zip
- (9.67 KiB) Downloaded 29 times
Best regards
Jimmy Thomsen
Full runnable example attached so you don't have to copy 'src' to the basic example.
-
Attachments
-
- Screen Shot 2022-10-06 at 09.45.30.png (99.85 KiB) Viewed 327 times
-
- basic.zip
- (2.55 MiB) Downloaded 24 times
Best regards
Jimmy Thomsen
I've tried copying from the src2.zip. And not able to reproduce it. Seems like working fine I don't see any code fails.
Could you please provide a video on how to reproduce it and what fails you're seeing?
Thanks Tasnim - appreciate it
Best regards
Jimmy Thomsen
Hello again.
What can we expect from here on? Will it be fixed within a week? A month? 6 months? Never?
Do you have any suggestions for work arounds?
Best regards
Jimmy Thomsen
Hi jit@flowit.dk,
We sent this ticket to our project management team. Milestone has not been set yet, so looks like this ticket has not been proceed at the moment. I will ping them again about that to make sure nothing missed.
When ticket will get a milestone, we will see in which release it's planned to be fixed. I can't provide you any dates now, but of course it won't take 6 months or never.
I can subscribe on ticket updates and you'll be notified when it gets a milestone or status changed.
About a workarond, try to use https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#event-dataReady event instead. This event triggers when engine finished all calculation, so all ids should be there.
Thanks, Alex. I would appreciate an update once a milestone is set and an expected release date is known
Best regards
Jimmy Thomsen