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

The endpoint /ontologies_full breaks when there is a data integrity issue in any submission #72

Open
mdorf opened this issue Jul 23, 2021 · 0 comments

Comments

@mdorf
Copy link
Member

mdorf commented Jul 23, 2021

The REST endpoint /ontologies_full returns Status 500 (Internal Server Error) when there is an integrity issue in one of the submissions it returns as part of its return value.

The case-in-point was the ontology AGRO submissionId 5, which had (as a result of a separate unrelated issue) its hasOntologyLanguage property set to NULL.

This endpoint should handle such issues gracefully without failing the entire request due to a single submission error.

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

2 participants