mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix(core): Fix missing successful items on continueErrorOutput with multiple outputs (#10218)
This commit is contained in:
@@ -1125,7 +1125,6 @@ export class WorkflowExecute {
|
||||
);
|
||||
|
||||
const errorItems: INodeExecutionData[] = [];
|
||||
const successItems: INodeExecutionData[] = [];
|
||||
const closeFunctions: CloseFunction[] = [];
|
||||
// Create a WorkflowDataProxy instance that we can get the data of the
|
||||
// item which did error
|
||||
@@ -1150,8 +1149,10 @@ export class WorkflowExecute {
|
||||
outputIndex < mainOutputTypes.length - 1;
|
||||
outputIndex++
|
||||
) {
|
||||
successItems.length = 0;
|
||||
const items = nodeSuccessData.length ? nodeSuccessData[0] : [];
|
||||
const successItems: INodeExecutionData[] = [];
|
||||
const items = nodeSuccessData[outputIndex]?.length
|
||||
? nodeSuccessData[outputIndex]
|
||||
: [];
|
||||
|
||||
while (items.length) {
|
||||
const item = items.pop();
|
||||
|
||||
Reference in New Issue
Block a user