mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix: closes #4142
The issue occured because the partId is set to "_" by default and is never overwritten in manual mode. With concurrent messages and different processing times all parts of all messages have the identifier "_" and are assembled following the FIFO principle.
This commit is contained in:
parent
53f99ecc23
commit
e16d5cf83d
@ -629,6 +629,9 @@ module.exports = function(RED) {
|
|||||||
joinChar = node.joiner;
|
joinChar = node.joiner;
|
||||||
if (n.count === "" && msg.hasOwnProperty('parts')) {
|
if (n.count === "" && msg.hasOwnProperty('parts')) {
|
||||||
targetCount = msg.parts.count || 0;
|
targetCount = msg.parts.count || 0;
|
||||||
|
if (msg.parts.hasOwnProperty('id')) {
|
||||||
|
partId = msg.parts.id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (node.build === 'object') {
|
if (node.build === 'object') {
|
||||||
propertyKey = RED.util.getMessageProperty(msg,node.key);
|
propertyKey = RED.util.getMessageProperty(msg,node.key);
|
||||||
|
Loading…
Reference in New Issue
Block a user