-
Notifications
You must be signed in to change notification settings - Fork 445
Description
Description
my understanding is that it's a regression from #9712 which disabled loading formats when the servertype is no-vendor (eg the check added in https://github.com/geosolutions-it/MapStore2/blame/0b28a76d973374ea8d700c4f8e655391f43c5525/web/client/components/catalog/editor/AdvancedSettings/RasterAdvancedSettings.js#L196)
How to reproduce
- add a no-vendor wms service to catalog
Expected Result
- one should be able to fetch formats from the wms service
Current Result
- the format refresh button and the format dropdowns are disabled
- Not browser related
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
witnessed on https://ids.craig.fr/mapstore/#/ where the regressing PR was backported to branch 2023.02, the [CRAIG] orthophotographie is such a no-vendor entry.
originally i wanted to ensure that for this catalog entry, the default format was image/jpeg, and i realized i can't set the format in the advanced options of the catalog entry. the format can still be fetched from the layer properties via the TOC, but not for the catalog entry.
i can workaround the issue by setting "layerOptions": { "serverType": "no-vendor", "format": "image/jpeg"} in localConfig.json but fixing this annoying bug would be nicer. @MV88 ?
