iodepo / oih-ui

source code for the Ocean InfoHub (OIH) website
https://oceaninfohub.org/
MIT License
5 stars 4 forks source link

Runtime errors triggered on multiple functions #142

Open pbuttigieg opened 1 month ago

pbuttigieg commented 1 month ago

image

Clicking on the ID property results in :

image

Refreshing this page doesn't resolve the issue.

On the map viewer, any attempt to filter (e.g. via Provider) image

results in:

image

However, on refresh, the result renders correctly in the mapviewer.

We haven't tested other places where this could occur extensively.

dev-marcoC commented 1 month ago

Hi @pbuttigieg,

For the issues with the map and the ID, we added some try-catch blocks, and the problem seems to be resolved.

Everything seems to be working correctly on the map, and we believe it was only a temporary issue that doesn’t affect functionality.

For the catalog, we did the same thing, and now the result is similar to what you get on the original site.

image

image

I’ll update the dev environment you're using with these latest changes later during the day.

Let us know if there are any other issues like this or if you need anything else.

Thanks!

dev-marcoC commented 1 month ago

I have updated your dev environment (dev.oih.iode.org) with these new changes.

jmckenna commented 1 month ago

thanks @dev-marcoC, seems fixed here.