Closed turnstylerj closed 1 year ago
I'll take a look at it the next days. Thanks for reporting.
I guess this is resolved by https://github.com/craftcms/cms/issues/11832.
For what it's worth, this is a different issue. Element Relations is the only plugin that has tasks hanging around like this in the sidebar regardless of whether the queue is running standard or automatically.
Description
This is kind of a weird one, and I haven't been able to produce super consistent repro steps, but as I'm working on a site build it seems almost every time I leave the tab I have my CP in, move over to a different browser tab, and come back to the CP later, there's an Element Relations task stuck in the queue until I either reload the page or click on the item going directly to the queue, then it quickly runs and goes away.
I would be tempted to think this is a strange Craft bug, but it doesn't happen with any other plugins/tasks I've noticed. And more often than not, whenever I log into the CP of a site with this plugin installed, Element Relations tasks are running and quickly resolve once I load the CP. Like they are for some reason unable to run properly in the background/without a control panel load to trigger them to complete.
Does this make any sense? It's kind of a tricky one to describe/narrow down, but only seems to happen with this plugin.
Additional Information
Craft CMS: v4.1.0.2 Element Relations: v2.0.0