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): Render credential-only nodes when loading from the backend #13689

Merged

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Mar 4, 2025

Summary

Credential-only nodes would be displayed as normal HTTP request nodes after refresh.

This PR fixes that issue by transforming the node type when storing the nodes in the workflow store.

image

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2248/credential-only-nodes-become-http-request-nodes

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)

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Mar 4, 2025
…credential-only-nodes-become-http-request-nodes
Copy link
Contributor

@michael-radency michael-radency left a comment

Choose a reason for hiding this comment

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

LGTM, updated with master to fix merge conflict

Copy link
Contributor

github-actions bot commented Mar 5, 2025

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Mar 5, 2025

n8n    Run #9650

Run Properties:  status check passed Passed #9650  •  git commit 28dfe676ef: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project n8n
Branch Review node-2248-credential-only-nodes-become-http-request-nodes
Run status status check passed Passed #9650
Run duration 04m 41s
Commit git commit 28dfe676ef: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Committer Michael Kret
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 440
View all changes introduced in this branch ↗︎

@elsmr elsmr merged commit c821f1c into master Mar 5, 2025
38 checks passed
@elsmr elsmr deleted the node-2248-credential-only-nodes-become-http-request-nodes branch March 5, 2025 09:27
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.

2 participants