Two nodes apparently connected by two wires (bug?)

Running v2.2.0 I apparently have two nodes that are connected by two wires.

The output of node 1 was wired to flow into the input of node 2. But node 2 seemed to be getting the message twice. After some debugging, I could tell that their were two wires connecint the two nodes. Looking at the flows.json I discovered this (note the dpulicate wires):

"id": "2915cc26.3bb194",
"type": "function",
"z": "0dce15414a6fc61c",
"g": "e28f6ea.8b8e59",
"name": "is commandSendDefinitions Absent?",
"func": "if ( global.get('commandSendDefinitions') === undefined )\n return msg;\nelse\n return null;",
"outputs": 1,
"noerr": 0,
"x": 670,
"y": 120,
"wires": [

I actually found it by placing a function node over the wire in the UI to do some debugging and the UI automatically wires the new funciton node in. I then moved the function node but there was still a wire connecting the two nodes.

You can see the process below:

  1. The UI
  2. Dropping the funciton node
  3. The UI wires the new node in
  4. Move the function node to see that there is still a wire there.
  5. While not included in the graphic, I moved the other nodes around to make sure that the extra wire was between the two offending nodes. Seeing this brought me to looking at the flows.json and seeing the duplicate wire entry.

If I can be of any further help, please let me know.

Thank you.

Can you recreate it at will? If so, what are the steps?

This was fixed in the 2.2.1 release


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