Page 1 of 1

Leaving a page with a filtered taskStore and re-entering gives "Error: Id collision"

Posted: Mon Jan 13, 2020 4:06 pm
by nava
Seems to be an issue with navigating away from a page with a Gantt chart with a filtered store and then returning.

Steps to reproduce:
- Enter page with Gantt chart.
- Filter taskStore.
- Navigate to some other page in application.
- Navigate back to page with Gantt chart.
- An attempt to load taskStore is made and "Error: Id collision.." occurs and chart is left empty.

Note that this only seems occurs if taskStore is filtered when leaving the page, otherwise it works.
Now using taskStore.clearFilters() as a workaround on page leave.

Found in version 1.2.2, still present in 2.0.0

Re: Leaving a page with a filtered taskStore and re-entering gives "Error: Id collision"

Posted: Mon Jan 13, 2020 4:15 pm
by mats
How can we reproduce it? I tried here, no luck. https://bryntum.com/examples/gantt/advanced/

If you succeed, please add ?video=1 to the URL and we'll look into it.

Re: Leaving a page with a filtered taskStore and re-entering gives "Error: Id collision"

Posted: Wed Jan 15, 2020 11:14 am
by nava
Alright, don't really have the time for that and I'm cool with the workaround, this was more of a heads up but if you can't reproduce it, it might not be a problem

Re: Leaving a page with a filtered taskStore and re-entering gives "Error: Id collision"

Posted: Wed Jan 15, 2020 11:41 am
by mats
We'd love to fix it though, so just need to understand the steps to get the error to show.