FlowFuse / FlowFuse/node-red-dashboard

Client data is not appended correctly to the message (msg) if the node has more than one output

Open
#1,532 1 comment 0 reactions 0 assignees View on GitHub
size:S type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

If a node has more than one output, Node-RED sends the message (msg) as an array where each index corresponds to the message related to that output. However, the client data is appended incorrectly, outside the array, instead of being associated with the correct message.

### Expected Behavior

The client data should be added to every message in the array and not outside of the array.

### Steps To Reproduce

Use any node UI-Node that has more than one output and take a look at the full msg object. Our example uses this node: `"@5minds/node-red-dashboard-2-processcube-dynamic-table": "1.2.0"`

### Environment

- Dashboard version:
- Node-RED version:
- Node.js version:
- npm version:
- Platform/OS:
- Browser:

### Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.