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(Notion Node): Fix is_empty query on formula fields #8397

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Jan 19, 2024

Summary

image

Use this comment to test, query should be successful
#4588 (comment)
Notion Formula: prop("check") == true ? now() : parseDate("")

Related tickets and issues

fixes #4588
https://linear.app/n8n/issue/NODE-1033/notion-get-database-page-fails-when-using-formula-in-filter

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 n8n team Authored by the n8n team node/improvement New feature or request labels Jan 19, 2024
Copy link

cypress bot commented Jan 22, 2024

2 flaky tests on run #3858 ↗︎

0 338 5 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: de17df9a86
Status: Passed Duration: 03:29 💡
Started: Jan 22, 2024 10:38 AM Ended: Jan 22, 2024 10:42 AM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #8397 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@elsmr elsmr merged commit 08e7db4 into master Jan 22, 2024
28 checks passed
@elsmr elsmr deleted the node-1033-notion-get-database-page-fails-when-using-formula-in-filter branch January 22, 2024 11:39
@github-actions github-actions bot mentioned this pull request Jan 22, 2024
@janober
Copy link
Member

janober commented Jan 22, 2024

Got released with [email protected]

@github-actions github-actions bot mentioned this pull request Jan 24, 2024
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 node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter items missing for formula
3 participants