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: Add template id to workflows created from templates (no-changelog) #8226

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Jan 4, 2024

Summary

In #8088 template ID was added to workflow metadata, but it was missing from workflows that were created using the template credential setup. This fixes that.

Related tickets and issues

https://linear.app/n8n/issue/ADO-1639/bug-connect-wf-with-template

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@tomi tomi requested a review from mutdmour January 4, 2024 11:58
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jan 4, 2024
@tomi tomi requested a review from mutdmour January 4, 2024 14:25
mutdmour
mutdmour previously approved these changes Jan 4, 2024
Copy link
Contributor

github-actions bot commented Jan 4, 2024

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

Copy link

cypress bot commented Jan 4, 2024

2 flaky tests on run #3602 ↗︎

0 326 5 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Project: n8n Commit: b986263939
Status: Passed Duration: 06:59 💡
Started: Jan 5, 2024 8:28 AM Ended: Jan 5, 2024 8:35 AM
Flakiness  29-templates.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Templates > should save template id with the workflow Screenshots Video
Flakiness  26-resource-locator.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Resource Locator > should retrieve list options when other params throw errors Screenshots Video

Review all test suite changes for PR #8226 ↗︎

Copy link
Contributor

github-actions bot commented Jan 4, 2024

✅ All Cypress E2E specs passed

Copy link
Contributor

github-actions bot commented Jan 5, 2024

✅ All Cypress E2E specs passed

@tomi tomi merged commit 8a78ae1 into master Jan 5, 2024
37 checks passed
@tomi tomi deleted the ado-1639-bug-connect-wf-with-template branch January 5, 2024 08:37
@Joffcom
Copy link
Member

Joffcom commented Jan 10, 2024

Got released with n8n@1.24.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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants