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

API returns a random list of items when a search key is not found #337

Open
rgerkin opened this issue Sep 24, 2018 · 0 comments
Open

API returns a random list of items when a search key is not found #337

rgerkin opened this issue Sep 24, 2018 · 0 comments
Labels

Comments

@rgerkin
Copy link
Contributor

rgerkin commented Sep 24, 2018

The URL here returns a random list of neurons instead of an error message (reflecting that no neuron with such a neurolex id exists). The correct behavior is observed when filtering by database id, e.g. here just returns an empty list. It is bad for random values to be returned in an error conditions, instead of any empty list.

@rgerkin rgerkin added the bug label Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant