BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 9 forks source link

Browser node doesn't work without a payload #119

Closed Pulssi closed 2 years ago

Pulssi commented 4 years ago

I'm submitting a ... (check one with "x")

Feature

Support

Problem

Information

Current behaviour If you send a msg without a payload property to browser node you'll get error saying "TypeError: Cannot read property 'actiontype' of undefined". After setting payload property it works.

Expected behaviour Sending a msg object with just a addressSpaceItems property as instructed in browser node info would work fine. Or browser node info tab would tell about a payload property being required.

Minimal reproduction of the problem with instructions Just send some msg without a payload property to browse node.

Your Environment

Please tell us about your environment:

biancode commented 4 years ago

That is not a bug for me. The node has an interface, which has to be filled. It could check more to get a clear message.