Description
it's failing here
|
const SRSList = root.Layer && castArray(root.Layer.SRS || root.Layer.CRS)?.map((crs) => crs.toUpperCase()) || []; |
if the CRS is completely missing from Capabilities doc
How to reproduce
- add a WMS service with this problem (no SRS defined globally)
- save
Expected Result
to be able to save it and start adding layer
Current Result
an error is printed on screen

Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)
| Browser Affected |
Version |
| Internet Explorer |
|
| Edge |
|
| Chrome |
|
| Firefox |
|
| Safari |
|
Other useful information
Description
it's failing here
MapStore2/web/client/api/WMS.js
Line 110 in 2c08158
if the CRS is completely missing from Capabilities doc
How to reproduce
Expected Result
to be able to save it and start adding layer
Current Result
an error is printed on screen

Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information