TheJacksonLaboratory / POET

A curation application for HPO and MAxO
https://thejacksonlaboratory.github.io/POET/
2 stars 0 forks source link

Error message for duplicate sources #128

Closed pnrobinson closed 1 year ago

pnrobinson commented 1 year ago

If you try to add a source that is already present, you get this warning

[ERROR]: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2

It would be better to provide a plain-language warning.

Also, we should not allow non PubMed sources like this: https://www.ncbi.nlm.nih.gov/books/NBK525998/ and it would be good to be able to remove or edit sources!

iimpulse commented 1 year ago

131