Page 1 of 1

Resource Filter Not Respected

Posted: Wed Feb 01, 2023 9:54 pm
by conn.finn

Hello,

I am running into an issue with the ResourceFilter; it seems that adding events to the EventStore via an async function is causing the events to all display, regardless of whether or not the resource(s) they are associated with are selected. An example of this behavior can be found here: https://codepen.io/connor-veeva/pen/ExpOEEg?editors=0010, where I'd only like the events for one of these resources to display, but all are visible until the checkbox is manually toggled.

Let me know if there's any more information I could provide, any help would be appreciated.

Thanks,
Connor


Re: Resource Filter Not Respected

Posted: Wed Feb 01, 2023 10:55 pm
by marcio

Hey Connor,

Thanks for the report and the example! I created a ticket to investigate/fix it as it seems to be a bug https://github.com/bryntum/support/issues/6093


Re: Resource Filter Not Respected

Posted: Thu Feb 02, 2023 9:56 am
by Animal

Re: Resource Filter Not Respected

Posted: Thu Feb 02, 2023 4:40 pm
by conn.finn

That looks like it fixes the initial case, but when I remove the other resource from the resourceFilter's initially selected values, the problem persists; ie. if there are supposed to be no resource events displaying, it displays them all anyways. I updated the codepen to display this issue. Let me know if there's anything else I'm missing.

Thanks,
Connor


Re: Resource Filter Not Respected

Posted: Thu Feb 02, 2023 7:57 pm
by marcio

Thanks Connor for the update, I added a note to the ticket to check.


Re: Resource Filter Not Respected

Posted: Sun May 07, 2023 8:50 pm
by Animal

Sorry, this ticket seems to have slipped though. We will try to get it into the forthcoming 5.3.5 release.