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

Our state of the art Gantt chart
Post Reply
User avatar
nava
Posts: 2
Joined: Mon Jan 13, 2020 2:56 pm

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

Post by nava » Mon Jan 13, 2020 4:06 pm

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

User avatar
mats
Core Developer
Core Developer
Posts: 15154
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

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

Post by mats » Mon Jan 13, 2020 4:15 pm

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.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
nava
Posts: 2
Joined: Mon Jan 13, 2020 2:56 pm

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

Post by nava » Wed Jan 15, 2020 11:14 am

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

User avatar
mats
Core Developer
Core Developer
Posts: 15154
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

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

Post by mats » Wed Jan 15, 2020 11:41 am

We'd love to fix it though, so just need to understand the steps to get the error to show.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply