node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

ui-event node does not send events after Node-RED deploy until browser page is reloaded

Open joelvandal opened this issue 1 year ago • 6 comments

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

  1. Set up a Node-RED flow using the ui-event node in a dashboard.
  2. Open the dashboard in a browser.
  3. Interact with the dashboard and confirm that ui-event nodes are sending events to Node-RED.
  4. Perform a deployment in Node-RED.
  5. Navigate through the dashboard (without reloading the browser page).
  6. Observe that the ui-event nodes are no longer sending events.
  7. Reload the browser page.
  8. 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

joelvandal avatar Oct 09 '24 15:10 joelvandal

+1 I am having the exact same issue.

mitchtimken avatar Mar 31 '25 21:03 mitchtimken

Has someone a workaround for this bug?

roblen45 avatar Aug 14 '25 15:08 roblen45

the same is for the ui control node. no sollution?

beabel avatar Aug 30 '25 08:08 beabel

I'll get this looked at next week. Apologies this has slipped.

joepavitt avatar Aug 30 '25 08:08 joepavitt

ui-event: need to reload the page

ui-control: need to reload the page with …/dashboard/ …/dashboard/page1 does not work.

beabel avatar Aug 30 '25 12:08 beabel

Moved to unique issue in #1924. But I do believe they are related.

mwcl-biz avatar Nov 02 '25 01:11 mwcl-biz