When a debug
node is configured to display its msg.payload
in the node status, it seems to exhibit a peculiar (buggy?) behavior. When the node's enable button is toggled, it sends a status message that can be caught by the status
node. In this flow, debug #1
sends a status message with status.text = ""
each time the button is toggled. The debug #2
node does the same thing until it has received an input message. Then, if it is enabled, it sends status.text = msg.payload
, then sends the same thing again when toggled off, and finally sends status.text = ""
when toggled on again. Then it continues to alternate between the two messages with each press of the button. If the messages received by the status
node are used to trigger other flows, this could generate some serious confusion during debugging. Has this been seen before? Is it really a bug?
[{"id":"4a5fef71.4edc8","type":"debug","z":"c357eda4.dd0a7","name":"debug #1","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","x":260,"y":60,"wires":[]},{"id":"1752cd2.1880b33","type":"status","z":"c357eda4.dd0a7","name":"","scope":null,"x":440,"y":80,"wires":[["2bdb75cf.30f55a"]]},{"id":"2bdb75cf.30f55a","type":"debug","z":"c357eda4.dd0a7","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":580,"y":80,"wires":[]},{"id":"7bd7a7e6.0734e8","type":"debug","z":"c357eda4.dd0a7","name":"debug #2","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","x":260,"y":120,"wires":[]},{"id":"caeb7d23.290478","type":"inject","z":"c357eda4.dd0a7","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":120,"wires":[["7bd7a7e6.0734e8"]]}]
[EDIT]
Sorry, I forgot to mention that this happens with NR v0.19.5 on a mac with node v8.11.2 and on a Rpi with node v8.11.4.
Has anyone reproduced this?