ui-event node does not send events after Node-RED deploy until browser page is reloaded
Current Behavior
When using the ui-event node on the dashboard, if the page is open in the browser and a deployment is performed in Node-RED, ui-event nodes stop sending events from the browser to Node-RED until the page is reloaded manually.
Expected Behavior
After deploying in Node-RED, the ui-event node should continue to function without requiring a manual browser page reload. The events should be sent from the browser to Node-RED seamlessly.
Steps To Reproduce
- Set up a Node-RED flow using the ui-event node in a dashboard.
- Open the dashboard in a browser.
- Interact with the dashboard and confirm that ui-event nodes are sending events to Node-RED.
- Perform a deployment in Node-RED.
- Navigate through the dashboard (without reloading the browser page).
- Observe that the ui-event nodes are no longer sending events.
- Reload the browser page.
- Interact with the dashboard again and notice that the ui-event nodes resume sending events.
Environment
- Dashboard version: 1.17.0
- Node-RED version: 3.0.2
- Node.js version: 18.20.3
- npm version: 10.7.0
- Platform/OS: Ubuntu 20.04
- Browser: Chrome/Chromium
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
+1 I am having the exact same issue.
Has someone a workaround for this bug?
the same is for the ui control node. no sollution?
I'll get this looked at next week. Apologies this has slipped.
ui-event: need to reload the page
ui-control: need to reload the page with …/dashboard/ …/dashboard/page1 does not work.
Moved to unique issue in #1924. But I do believe they are related.