Skip to content

fix(editor): Normalize credential data from source control #15434

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

Conversation

r00gm
Copy link
Contributor

@r00gm r00gm commented May 15, 2025

Summary

Credential data pushed to source control is transformed to empty string which breaks our types and Fe checks.

Remove all empty string so at the credential type defaults kick in

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/PAY-2723/oauth-credential-stub-cannot-be-completed-up-on-read-only-instance

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)

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label May 15, 2025
Copy link

codecov bot commented May 15, 2025

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...i/src/components/CredentialEdit/CredentialEdit.vue 90.90% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@r00gm r00gm marked this pull request as ready for review May 16, 2025 06:57
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

mrge reviewed 2 files and found no issues. Review PR in mrge.io.

Copy link
Contributor

@MarcL MarcL left a comment

Choose a reason for hiding this comment

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

Looks good but I don't think the assert is needed.

Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link
Contributor

✅ All Cypress E2E specs passed

@r00gm r00gm merged commit 840a3be into master May 16, 2025
74 checks passed
@r00gm r00gm deleted the pay-2723-oauth-credential-stub-cannot-be-completed-up-on-read-only branch May 16, 2025 09:09
@github-actions github-actions bot mentioned this pull request May 19, 2025
@janober
Copy link
Member

janober commented May 19, 2025

Got released with [email protected]

ozcangungor pushed a commit to ozcangungor/n8n that referenced this pull request May 25, 2025
etobella pushed a commit to etobella/n8n that referenced this pull request May 25, 2025
Alexandero89 pushed a commit to Alexandero89/n8n that referenced this pull request May 28, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants