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

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 ?
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
Expected Result
Current Result
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
witnessed on https://ids.craig.fr/mapstore/#/ where the regressing PR was backported to branch 2023.02, the
[CRAIG] orthophotographieis 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"}inlocalConfig.jsonbut fixing this annoying bug would be nicer. @MV88 ?