biddster / node-red-contrib-schedex

Scheduler for node-red which allows you to enter on/off times as 24hr clock (e.g. 01:10) or suncalc events (e.g. goldenHour). It also allows you to offset times and randomise the time within the offset.
22 stars 17 forks source link

Undesired information generated by msg.payload = info #44

Closed aiot-maker closed 5 years ago

aiot-maker commented 5 years ago

Using schedex contrib node on windows10, Node.js v8.11.1, Node-RED v0.20.0

Feeding the node with msg.payload = info results the node displaying in the debug panel its properties as well as the object _.flow, which is huge and disclose information of all nodes in all flows. I understand such information is not relevant to schedex and should not leak.

i-01

drmibell commented 5 years ago

I am seeing this in v1.5.0 but not in v1.4.1, so I suspect the behavior was introduced while trying to get the info command to produce the complete configuration.

biddster commented 5 years ago

Thanks for the report, I'll issue a fix.

biddster commented 5 years ago

Fixed in 1.5.1