Node Status - queries about text is null

Is it normal in case of 2, Node Status to block the whole flow ?
Basically, if 'text' has the value null, the execution of the flow stops at that node.

[{"id":"f00e26a6.ac9408","type":"tab","label":"Message","disabled":false,"info":""},{"id":"fcaa74a0.c1e5f8","type":"inject","z":"f00e26a6.ac9408","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":180,"wires":[["f1c7a59e.89ed7"]]},{"id":"bf141474.1662e8","type":"debug","z":"f00e26a6.ac9408","name":"Debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":180,"wires":[]},{"id":"f1c7a59e.89ed7","type":"function","z":"f00e26a6.ac9408","name":"1","func":"msg.payload = null;\n\n\nnode.status({fill:\"green\", shape:\"ring\", text:'Payload : ' + msg.payload});\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":180,"wires":[["bf141474.1662e8"]]},{"id":"db5026d3.e46f9","type":"inject","z":"f00e26a6.ac9408","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":260,"wires":[["72e37519.523bec"]]},{"id":"3583c42e.28e29c","type":"debug","z":"f00e26a6.ac9408","name":"Debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":260,"wires":[]},{"id":"72e37519.523bec","type":"function","z":"f00e26a6.ac9408","name":"2","func":"msg.payload = null;\n\nnode.status({fill:\"green\", shape:\"ring\", text:msg.payload});\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":260,"wires":[["3583c42e.28e29c"]]}]

It doesn't block the flow - if you change the Debug node to also long to the console, you'll see the message arrives.

But it does appear that the editor doesn't handle a payload will a null value - you get this error in the editor:

Which is odd - this definitely used to work.

What version of Node-RED are you using?

Same result in :

  • Node Red 1.0.5 and 1.0.6
  • NodeJS 10 and 12 (all version of 12)
  • Windows 7, 10 and Ubuntu

Also, Debug 3 is ... unreachable. You're right, he appears in the console

[{"id":"855fa392.159ea","type":"tab","label":"Message","disabled":false,"info":""},{"id":"a050df00.37e8d8","type":"inject","z":"855fa392.159ea","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":180,"wires":[["b4593353.8d9da8"]]},{"id":"d423496f.6e9b6","type":"debug","z":"855fa392.159ea","name":"Debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":180,"wires":[]},{"id":"b4593353.8d9da8","type":"function","z":"855fa392.159ea","name":"1","func":"msg.payload = null;\n\n\nnode.status({fill:\"green\", shape:\"ring\", text:'Payload : ' + msg.payload});\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":180,"wires":[["d423496f.6e9b6"]]},{"id":"a727a5c5.bd176","type":"inject","z":"855fa392.159ea","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":260,"wires":[["8e5ad3ca.d65248"]]},{"id":"9449c11.635744","type":"debug","z":"855fa392.159ea","name":"Debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":260,"wires":[]},{"id":"8e5ad3ca.d65248","type":"function","z":"855fa392.159ea","name":"2","func":"msg.payload = null;\n\nnode.status({fill:\"green\", shape:\"ring\", text:msg.payload});\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":260,"wires":[["9449c11.635744","2203172e.d6691"]]},{"id":"2203172e.d6691","type":"function","z":"855fa392.159ea","name":"Other Node","func":"msg.payload = 'Flow is running';\n\n\nreturn msg;","outputs":1,"noerr":0,"x":640,"y":380,"wires":[["94801149.aa8e88"]]},{"id":"94801149.aa8e88","type":"debug","z":"855fa392.159ea","name":"Debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":840,"y":380,"wires":[]}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.