Hi,
The Assignment is duplicated when updating the Units in the Assignment column from the Gantt Grid
This issue is really not easy to reproduce constantly.
As a matter of fact, once we had the issue, we tried to reproduce it and, the issue occurs 3 times of out 10 try.
Then, we are explaining to you herewith how we did have that issue :
1) From your online demo (https://www.bryntum.com/examples/gantt/advanced/)
2) Select from the Grid a Task without assignment.
3) Click the Cell and Add one Resources, BUT do not touch the units.
4) Save and click anywhere to render clear the focus on the selected Cell
5) Go back to the Cell and Click to open up the Assignment editor the ONLY change the Units and Press Enter.
6) Then Click Save
This is how we have been able to get 2 times the same resources with different Units value.
As we said it takes us some try, but we had the issue aftward.
(Look at the screenshot that shows the duplicate resources different Units value.)
Then please, you may not be able to reproduce it at first instance, but give some try and check if the AssignmentStore is correctly fired whenever an update is carried out because we noticed as well that sometimes when the Units value is changed the changed/update is not fired from AssignmentStore, but from the TaskStore.
Support Forum
Thank you for reporting. The ticket is here:
https://app.assembla.com/spaces/bryntum/tickets/9285-resourceassignmentcolumn-may-duplicate-same-resource/details
https://app.assembla.com/spaces/bryntum/tickets/9285-resourceassignmentcolumn-may-duplicate-same-resource/details
We'll look at this issue shortly. https://github.com/bryntum/support/issues/241