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(editor): Don't try to load credentials on the demo route #9926

Merged

Conversation

despairblue
Copy link
Contributor

@despairblue despairblue commented Jul 3, 2024

Summary

Before this PR we tried to load the credentials on the preview route, which would fail, because there is no user and no personal project and team project.
Now this short circuits and does not try to load the credentials.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/PAY-1717/bug-preview-instance-on-1472-has-init-error

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)

@despairblue despairblue added the release/backport Changes that need to be backported to older releases. label Jul 3, 2024
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jul 3, 2024
Copy link

cypress bot commented Jul 3, 2024

2 flaky tests on run #5758 ↗︎

0 399 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 despairblue 🗃️ e2e/*
Project: n8n Commit: c1ae78fc3c
Status: Passed Duration: 05:15 💡
Started: Jul 3, 2024 12:55 PM Ended: Jul 3, 2024 1:00 PM
Flakiness  e2e/5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video

Review all test suite changes for PR #9926 ↗︎

Copy link
Contributor

github-actions bot commented Jul 3, 2024

✅ All Cypress E2E specs passed

@cstuncsik cstuncsik merged commit b80df2a into master Jul 3, 2024
28 checks passed
@cstuncsik cstuncsik deleted the pay-1717-bug-preview-instance-on-1472-has-init-error branch July 3, 2024 13:14
@github-actions github-actions bot mentioned this pull request Jul 3, 2024
@janober
Copy link
Member

janober commented Jul 3, 2024

Got released with n8n@1.49.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team release/backport Changes that need to be backported to older releases. Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants