AtlasOfLivingAustralia / la-pipelines

Living Atlas Pipelines extensions
3 stars 4 forks source link

biocache-hub failure to display occurrence record #425

Closed brucehyslop closed 3 years ago

brucehyslop commented 3 years ago

viewing an occurrence record https://biocache-test.ala.org.au/occurrences/fcf6c203-fffd-4909-a0b0-12764d96e5f8

results in the error:

Application error
Failed to get json from web service (https://biocache-test.ala.org.au/ws/occurrence/compare?uuid=fcf6c203-fffd-4909-a0b0-12764d96e5f8). class java.io.FileNotFoundException https://biocache-test.ala.org.au/ws/occurrence/compare?uuid=fcf6c203-fffd-4909-a0b0-12764d96e5f8, java.io.FileNotFoundException: https://biocache-test.ala.org.au/ws/occurrence/compare?uuid=fcf6c203-fffd-4909-a0b0-12764d96e5f8; nested exception is java.io.FileNotFoundException: https://biocache-test.ala.org.au/ws/occurrence/compare?uuid=fcf6c203-fffd-4909-a0b0-12764d96e5f8
If this problem persists, please send an email to support@ala.org.au and include the URL to this page.

The cause appears to be the solr query response dos not include the id field value.

brucehyslop commented 3 years ago

removed id from default index.fields.tohide config https://github.com/AtlasOfLivingAustralia/biocache-service/commit/66ee397bd7d3d0c1dbbc52d44b36fcc9a44d434e

javier-molina commented 3 years ago

Works for me and it also fixed a QID generation issue that Bai had on SP.