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: Resolve expressions in credentials following paired item #8250

Conversation

janober
Copy link
Member

@janober janober commented Jan 7, 2024

Summary

Fixes the issue that pairedItem information was not available in expressions that got used in credentials

Related tickets and issues

PAY-1207

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.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 7, 2024
@@ -412,7 +416,7 @@ export class CredentialsHelper extends ICredentialsHelper {
expressionResolveValues.connectionInputData,
mode,
additionalKeys,
undefined,
executeData,
Copy link
Member Author

Choose a reason for hiding this comment

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

fyi, this was the issue

@krynble krynble changed the title ⚡ Fix pairedItem expressions in credentials fix: Parse expressions in credentials following paired item Jan 8, 2024
Copy link
Contributor

github-actions bot commented Jan 8, 2024

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Jan 8, 2024

1 flaky test on run #3631 ↗︎

0 327 5 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 janober 🗃️ e2e/*
Project: n8n Commit: bf56d6dfb8
Status: Passed Duration: 06:49 💡
Started: Jan 8, 2024 9:30 AM Ended: Jan 8, 2024 9:37 AM
Flakiness  cypress/e2e/29-templates.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Templates > should save template id with the workflow Screenshots Video

Review all test suite changes for PR #8250 ↗︎

@krynble krynble changed the title fix: Parse expressions in credentials following paired item fix: Resolve expressions in credentials following paired item Jan 8, 2024
@krynble krynble merged commit ccb2b07 into master Jan 8, 2024
20 checks passed
@krynble krynble deleted the pay-1207-paireditem-expressions-not-working-correctly-in-credentials branch January 8, 2024 09:48
@github-actions github-actions bot mentioned this pull request Jan 10, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants