mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
fix(core): Ensure that all non-lazy-loaded community nodes get post-processed correctly (#5782)
If you install a community node with `polling: true`, activating a workflow with that node fails with an error: `WorkflowActivationError: There was a problem activating the workflow: "Could not get parameter "pollTimes"!"`. You can test this by installing `n8n-nodes-rss-feed-trigger`, creating a workflow with the `RSS Trigger` node, and then trying to activate it. Activation will fail on `master`, but work as expected on this branch.
This commit is contained in:
parent
161de110ce
commit
30aeeb70b4
|
@ -60,7 +60,7 @@ export class Start extends BaseCommand {
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
protected activeWorkflowRunner = Container.get(ActiveWorkflowRunner);
|
protected activeWorkflowRunner: ActiveWorkflowRunner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opens the UI in browser
|
* Opens the UI in browser
|
||||||
|
@ -200,6 +200,7 @@ export class Start extends BaseCommand {
|
||||||
await this.initCrashJournal();
|
await this.initCrashJournal();
|
||||||
await super.init();
|
await super.init();
|
||||||
this.logger.info('Initializing n8n process');
|
this.logger.info('Initializing n8n process');
|
||||||
|
this.activeWorkflowRunner = Container.get(ActiveWorkflowRunner);
|
||||||
|
|
||||||
await this.initLicense();
|
await this.initLicense();
|
||||||
await this.initBinaryManager();
|
await this.initBinaryManager();
|
||||||
|
|
Loading…
Reference in a new issue