fathomnet / community-feedback

1 stars 0 forks source link

Home page "popular searches" fails when concept not in DSG #109

Open kevinsbarnard opened 1 year ago

kevinsbarnard commented 1 year ago

The "popular searches" concepts are looked up in the DSG using something like: https://fathomnet.org/dsg/phylogeny/basic/<concept>. When that concept is not present in the DSG, the endpoint returns an error JSON payload and the frontend code hits an error. When this happens, placeholder images are populated which when clicked link to the image detail page with invalid image UUIDs.

See below screenshots: Screenshot from 2023-05-03 16-02-38 Screenshot from 2023-05-03 16-04-47 Screenshot from 2023-05-03 16-02-53