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(Elasticsearch Node): Fix issue stopping search queries being sent #11464

Merged

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented Oct 29, 2024

Summary

This changes the API request to POST for Get Many so that the JSON body is correctly sent when using a search filter.

CleanShot 2024-10-29 at 18 17 34@2x

Related Linear tickets, Github issues, and Community forum posts

#11258
https://linear.app/n8n/issue/NODE-1872/community-issue-elasticsearch-query-doesnt-apply

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
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

can we add some tests?

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels Oct 29, 2024
@jerryhu1234
Copy link

Waiting for fix it!

@Joffcom Joffcom added the tests-needed This PR needs additional tests label Nov 28, 2024
@Joffcom
Copy link
Member Author

Joffcom commented Nov 28, 2024

Added tests-needed label, Will add proper tests during our next test creation session.

@Joffcom
Copy link
Member Author

Joffcom commented Nov 28, 2024

Added a very quick test

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@Joffcom Joffcom removed the tests-needed This PR needs additional tests label Dec 4, 2024
ShireenMissi
ShireenMissi previously approved these changes Dec 18, 2024
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

Tested Manually too and it all works 🎉

Copy link

cypress bot commented Dec 18, 2024

n8n    Run #8392

Run Properties:  status check passed Passed #8392  •  git commit 9c733339f9: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Project n8n
Branch Review node-1872-community-issue-elasticsearch-query-doesnt-apply
Run status status check passed Passed #8392
Run duration 04m 36s
Commit git commit 9c733339f9: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Committer Jonathan Bennetts
View all properties for this run ↗︎

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

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Contributor

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi merged commit 388a83d into master Dec 18, 2024
37 checks passed
@ShireenMissi ShireenMissi deleted the node-1872-community-issue-elasticsearch-query-doesnt-apply branch December 18, 2024 10:55
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
@janober
Copy link
Member

janober commented Dec 19, 2024

Got released with [email protected]

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.

5 participants