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 the issue with test webhooks getting removed incorrectly (no-changelog) #5466

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

netroy
Copy link
Member

@netroy netroy commented Feb 13, 2023

This broke because of the change here.
finally block is called even if there is a return in the try block, and this is causing the test webhook to be removed, even when it shouldn't be removed.

Fixes #5465

…ly (no-changelog)

This broke because of the change [here](https://github.com/n8n-io/n8n/pull/5443/files#diff-b386248ff00977749c873ed85821c241b773e9740d7e7adf94e05b73b350ed74L152).
`finally` block is called even if there is a `return` in the `try` block, and this is causing the test webhook to be removed, even when it shouldn't be removed.
@netroy netroy requested a review from Joffcom February 13, 2023 14:55
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Feb 13, 2023
Copy link
Member

@Joffcom Joffcom left a comment

Choose a reason for hiding this comment

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

Tested with SNS, Community Node that uses a webhook for a trigger and the Webhook node 👍🏻

@netroy netroy merged commit 4dc458e into n8n-io:master Feb 13, 2023
@netroy netroy deleted the GH-5465-fix-test-webhooks branch February 13, 2023 15:16
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Feb 13, 2023
@janober
Copy link
Member

janober commented Feb 14, 2023

Got released with n8n@0.215.2

@janober janober removed the Upcoming Release Will be part of the upcoming release label Feb 14, 2023
MiloradFilipovic added a commit that referenced this pull request Feb 15, 2023
* master:
  ci(core): Add unit tests for "me" controller (no-changelog) (#5479)
  fix(core): Use stricter typing on queries in cli commands (no-changelog) (#5476)
  fix(editor): Fix Vite dev mode (no-changelog) (#5475)
  feat(editor): Add correct credential owner contact details for readonly credentials (#5208)
  feat: Add workflow and credential sharing access e2e tests (#5463)
  ci: Update the "Check Documentation URLs" workflow (no-changelog) (#5473)
  feat(editor): Upgrade to Storybook v7 (no-changelog) (#5454)
  docs: Update release notes link (#5472)
  test(editor): Add e2e tests for executions preview (#5458)
  📚 Update CHANGELOG.md and main package.json to 0.215.2
  🔖 Release n8n@0.215.2
  fix(core): Fix the issue with test webhooks getting removed incorrectly (no-changelog) (#5466)

# Conflicts:
#	pnpm-lock.yaml
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 skip-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"AWS SNS Trigger" doesn't work with n8n version: 0.215.1.
3 participants