Premium support for our pure JavaScript UI components
Hi, I Noticed that undo and redo operation didnt work properly whenever i change the resources in the scheduler pro.
I copied my data into your salesforce example and made the source config similar to ours.
I was able to reproduce the problem.
Here is a demo.
Undo operation does not take it back to original position.
Further operations are broken.
- Resource Bug.gif (572.14 KiB) Viewed 425 times
Please check here for a runnable testcase.
It does not happen with data used by bryntum. So I am assuming it as something to do with our data. But not entirely sure.
I would appreciate your help in this.
Hi,
We need more context since it worked for me using your code snippet. Please see video attached.
Try to upgrade to latest version.
-
Attachments
-
- Screen Recording 2024-08-01 at 21.08.13.mov
- (8.44 MiB) Downloaded 13 times
Hi Here are the steps to reproduce.
Move the event diagonally into another resource so that both resource and date times are changed.
then try doing multiple undo's and redo's for that operation.
Could you please check if you can reproduce it with the above steps.
We are using Bryntum v6.0.1.
Here is a demo please follow similar actions to reproduce the issue.
- Resource Bug.gif (572.14 KiB) Viewed 385 times
Hello.
Reproduced, ticket opened here: https://github.com/bryntum/support/issues/9728 Thank you for report.
I noticed that reason seems to be id collision between assignment and event record. For a workaround you can fix the id collision.
Thank you. The workaround fixes the problem.
Hi,
We glad to hear. Please feel free to ask for help.