mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
fix(core): Same version of merge node behaves differently after n8n update (#13106)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -1489,7 +1489,7 @@ export class WorkflowExecute {
|
||||
|
||||
nodeSuccessData = runNodeData.data;
|
||||
|
||||
const didContinueOnFail = nodeSuccessData?.at(0)?.at(0)?.json?.error !== undefined;
|
||||
const didContinueOnFail = nodeSuccessData?.[0]?.[0]?.json.error !== undefined;
|
||||
|
||||
while (didContinueOnFail && tryIndex !== maxTries - 1) {
|
||||
await sleep(waitBetweenTries);
|
||||
@@ -1531,7 +1531,7 @@ export class WorkflowExecute {
|
||||
|
||||
nodeSuccessData = this.assignPairedItems(nodeSuccessData, executionData);
|
||||
|
||||
if (nodeSuccessData === null || nodeSuccessData[0][0] === undefined) {
|
||||
if (!nodeSuccessData?.[0]?.[0]) {
|
||||
if (executionData.node.alwaysOutputData === true) {
|
||||
const pairedItem: IPairedItemData[] = [];
|
||||
|
||||
@@ -1548,7 +1548,7 @@ export class WorkflowExecute {
|
||||
});
|
||||
});
|
||||
|
||||
nodeSuccessData = nodeSuccessData || [];
|
||||
nodeSuccessData ??= [];
|
||||
nodeSuccessData[0] = [
|
||||
{
|
||||
json: {},
|
||||
|
||||
Reference in New Issue
Block a user