Dashboard Socket ID bug?

Hey @hugobox,

I haven't much time, but you can debug the code in the ui.js file if you want to see it with your own eyes. In that code snippet, all messages arrive from your dashboard. However when you start in the dashboard with your own constructed message, there will be less original information available as explained below...

In line 269 another function is being called to do some processing before sending the message on the output of your Button node:

  • For button A the original.msg will contain a lot of information.
  • For button B the original.msg will contain only your payload (but no socketId or _msgid).

The result of this function is then used to determine the socketId of the toSend object (which is the message to be send on the output of your Button node):

image

So when you create a message by yourself, the code will behave differently. Don't know at the moment if that is correct or not.

Now I'm off ...
Bart

1 Like