Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Fix missing successful items on continueErrorOutput with multiple outputs #10218

Conversation

jeanpaul
Copy link
Contributor

When testing the continueOnFail behavior for the Text Classifier Node, I noticed that the successful items were missing from the non-error outputs. I traced it to the re-use of successItems and referencing the wrong output to get the items.

Summary

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/PAY-1786/continue-on-fail-output-to-error-stream-doesnt-work-properly-with

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

…puts

When testing the `continueOnFail` behavior for the Text Classifier Node,
I noticed that the successful items were missing from the non-error
outputs. I traced it to the re-use of `successItems` and referencing the
wrong output to get the items.
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jul 26, 2024
Disable this output testing, because the resultData is not giving both
output streams, weirdly enough. Testing the set-fields after is good
enough.
@netroy netroy changed the title Fix missing successful items on continueErrorOutput with multiple outputs fix(core): Fix missing successful items on continueErrorOutput with multiple outputs Jul 29, 2024
Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link

cypress bot commented Jul 29, 2024



Test summary

389 0 0 0Flakiness 0


Run details

Project n8n
Status Passed
Commit 58bf6c2
Started Jul 29, 2024 3:02 PM
Ended Jul 29, 2024 3:06 PM
Duration 04:12 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

Copy link
Contributor

✅ All Cypress E2E specs passed

@jeanpaul jeanpaul merged commit 1a7713e into master Jul 29, 2024
27 of 28 checks passed
@jeanpaul jeanpaul deleted the pay-1786-continue-on-fail-output-to-error-stream-doesnt-work-properly branch July 29, 2024 15:08
MiloradFilipovic added a commit that referenced this pull request Jul 30, 2024
* master:
  docs: Update login url for OpenAI node (no-changelog) (#10222)
  fix(LinkedIn Node): Fix issue with some characters cutting off posts early (#10185)
  fix(Google BigQuery Node): Send timeoutMs in query, pagination support (#10205)
  feat(core): Show Public API key value only once (no-changelog) (#10126)
  refactor(core): Display stack trace in error reporter (no-changelog) (#10225)
  fix(core): Fix missing successful items on continueErrorOutput with multiple outputs (#10218)
  fix(n8n Form Trigger Node): Remove custom attribution option (no-changelog) (#10229)
  feat(n8n Form Trigger Node): Improvements (#10092)
  refactor(core): Port path, host, port, listen_address and protocol config (no-changelog) (#10223)
  docs: Update add options text (no-changelog) (#10049)
  fix(Postgres Node): Option to treat query parameters enclosed in single quotas as text (#10214)
  refactor(core): Decouple server started event from internal hooks (no-changelog) (#10221)
  feat(Shopify Node): Update Shopify API version (#10155)
  fix(editor): Defer `User saved credentials` telemetry event for OAuth credentials (#10215)
  fix(editor): Fix parameter input glitch when there was an error loading remote options (#10209)
cstuncsik pushed a commit that referenced this pull request Jul 31, 2024
@github-actions github-actions bot mentioned this pull request Jul 31, 2024
@janober
Copy link
Member

janober commented Jul 31, 2024

Got released with n8n@1.53.0

cstuncsik pushed a commit that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants