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

HPO name search breaks with colon in string #159

Closed
stolpeo opened this issue Jun 18, 2024 · 2 comments · Fixed by #173
Closed

HPO name search breaks with colon in string #159

stolpeo opened this issue Jun 18, 2024 · 2 comments · Fixed by #173
Labels
bug Something isn't working

Comments

@stolpeo
Copy link

stolpeo commented Jun 18, 2024

Describe the bug
The name search returns a 500 error when the string contains a :. It seems to interpret the first part of the string up to the : as a field.

## Input: "HP:"
curl 'http://localhost:8000/proxy/varfish/viguno/hpo/terms?name=HP%3A'
Error parsing query: Syntax Error: HP: 
## Input: "HP:00"
curl 'http://localhost:8000/proxy/varfish/viguno/hpo/terms?name=HP%3A00'
Error parsing query: Field does not exist: 'HP'
@stolpeo stolpeo added the bug Something isn't working label Jun 18, 2024
@stolpeo
Copy link
Author

stolpeo commented Jun 18, 2024

Actually I don't know if it is intended to also search by term id, but the error is strange anyway.

@holtgrewe holtgrewe linked a pull request Jul 11, 2024 that will close this issue
@holtgrewe
Copy link
Collaborator

The full-text search engine interprets this in the query. Will be fixed in #173.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants