You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a 3dTiles layer record coming a CSW catalog, and it gives an error like below, the catalog should still show the available 3D Tiles
firenze.mp4
Current Result
Whenver a CWS record with a 3dTiles resource URL, (with the relative .json describing file for the 3dtile model) is found <dc:URI> in the <csw> record, mapstore starts parsing the .json file.
If the content of the file is not parsable as json (see in the example the 403 request returns an error in XML format) this crashes the whole catalog component and it will be not possible to scroll through the catalog pages, only the error message is visible.
Expected Result
Whenver a CWS record with a 3dTiles resource URL, (with the relative .json describing file for the 3dtile model) is found <dc:URI> in the <csw> record, mapstore starts parsing the .json file.
If the content of the file is not parsable as json, the exception should be handled gracefully, either not displaying the layer ITEM or graying the item out and not making it possible to add the layer to the map. The whole catalog component should not crash and it will still be possible to scroll through the catalog pages, with no error visible general error messages.
Description
If a 3dTiles layer record coming a CSW catalog, and it gives an error like below, the catalog should still show the available 3D Tiles
firenze.mp4
Current Result
<dc:URI>
in the<csw>
record, mapstore starts parsing the.json
file.Expected Result
<dc:URI>
in the<csw>
record, mapstore starts parsing the.json
file.Current Result
An error occurs:
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
The text was updated successfully, but these errors were encountered: