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

ElasticSearch Query NRE when Query is not valid #16938

Closed
Skrypt opened this issue Oct 30, 2024 · 2 comments
Closed

ElasticSearch Query NRE when Query is not valid #16938

Skrypt opened this issue Oct 30, 2024 · 2 comments

Comments

@Skrypt
Copy link
Contributor

Skrypt commented Oct 30, 2024

Describe the bug

ElasticSearch Query throws a NRE when Query is not valid.

Orchard Core version

2.x

To Reproduce

Create an ElasticSearch Query that has invalid syntax.
Execute the Query.

Expected behavior

Should report the error on the UI

Logs and screenshots

image

@PBMikeW
Copy link
Contributor

PBMikeW commented Oct 30, 2024

Example query to trigger error and screenshot.

{
  "query": {
    "match_all": { }
  },
}

image

@sebastienros sebastienros added this to the 2.x milestone Oct 31, 2024
Copy link
Contributor

We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).

This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants