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

ui-control node has inconsistent behavior when showing/hiding groups

Open Kemper-nejvetsi opened this issue 7 months ago • 1 comments

Current Behavior

When ui-control node's Output is set to "Connection Events Only", it cannot show or hide some groups and throws "Error: No group found with id or name xx". Addressing the nonfunctioning groups by id, name, with or without page and all combination does not have any effect. But some groups are working. So I changed Output to "Page/Tab Change Events Only" (trying everything) and it works. But I tried to reproduce the bug with setting ui-control node Output back to "Connection Events Only", but it works with all groups now.

Expected Behavior

Setting Output behavior of the node should not change input behavior in this case. And if do so, it should be consistent and predictable.

Steps To Reproduce

I tried to reproduce with setting ui-control node Output back to "Connection Events Only", but it works now.

Environment

  • Dashboard version: 1.24.0
  • Node-RED version: 4.0.9
  • Node.js version: 20.19.1
  • npm version: 10.8.2
  • Platform/OS: RasPi 4/Debian 12
  • Browser: Chrome

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Kemper-nejvetsi avatar May 25 '25 16:05 Kemper-nejvetsi

I'm seeing a similar behavior.

My ui control node is set to "All Events" but I'm still getting a "No group found with id or name ..." whenever I rename a UI node that I want to control. I have to restart Node-RED to make it work again after that.

I've attached a simple workflow where this happens. Just rename the group "Simple Dialog" and change the occurrence in the "Dialog: Simple Dialog" template, deploy and click the button on the dashboard:

ui-control-bug-flow.json

ignitedPotato avatar Aug 13 '25 06:08 ignitedPotato