node-red-contrib-cron-plus icon indicating copy to clipboard operation
node-red-contrib-cron-plus copied to clipboard

Cron-plus: track connections on schedule list move

Open gorenje opened this issue 10 months ago • 0 comments

[taken from forum]

Hi There!

I think I found an inconsistency in cron-plus compared to switch node and I'm not sure whether it's desired or not.

If I have multiple outputs in a switch and I move the conditions around in the list:

Screen Shot 2023-08-31 at 12 40 50

the outputs will be "sticky", i.e. connections are maintained as they are. Moving 3 above 2 in the above would cause crossed wires - visually.

If I do the same in the cron-plus node:

Screen Shot 2023-08-31 at 12 44 23

If I move schedule2 above schedule1 then the node that was connected to schedule1 will then be connected to schedule2 and conversely: the node that was connected to schedule2 will be connected to schedule1.

That's confusing but visual since after moving the schedules around, the wires visually looked the same - swapping two schedules should have caused cross wires.

Is that intended?

Cheers!

EDIT: Version: 2.1.0 of cron-plus & 3.0.2 of Node-RED

gorenje avatar Aug 31 '23 11:08 gorenje