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

QID searches result in 500 (test only) #940

Open
nickdos opened this issue Jan 23, 2025 · 0 comments · Fixed by #941
Open

QID searches result in 500 (test only) #940

nickdos opened this issue Jan 23, 2025 · 0 comments · Fixed by #941
Assignees
Labels
Milestone

Comments

@nickdos
Copy link
Contributor

nickdos commented Jan 23, 2025

The recent change set from #935, resulted in qid searches throwing an error: invalid array index 0 because array is length 0.

Example query: https://biocache-ws-test.ala.org.au/ws/occurrences/search?facet=false&pageSize=0&q=qid:1737596357239

Adam reports the bug is on line 160 of QueryFormatUtils.java.

@nickdos nickdos added the bug label Jan 23, 2025
@nickdos nickdos self-assigned this Jan 23, 2025
nickdos added a commit that referenced this issue Jan 23, 2025
@nickdos nickdos linked a pull request Jan 23, 2025 that will close this issue
nickdos added a commit that referenced this issue Jan 24, 2025
@adam-collins adam-collins added this to the 3.6.0 milestone Jan 29, 2025
@nickdos nickdos reopened this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants