-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetching the list of formats is disabled for a no-vendor WMS service #10480
Comments
@rowheat02 the following could be used as an example of no vendor OGC compliant server for reproducing the issue:
|
In this PR: #9712 |
@rowheat02 the PR #9712 is connected to the issue #9295 where the problem was related to a CSW catalog, so in case of CSW catalog this option should be disabled for no vendor. Note: the CSW and WMS catalog share the same component for the advanced settings (RasterAdvancedSettings component). |
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] 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"}
inlocalConfig.json
but fixing this annoying bug would be nicer. @MV88 ?The text was updated successfully, but these errors were encountered: