Skip to content
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

Open
1 task done
landryb opened this issue Jul 18, 2024 · 0 comments
Open
1 task done

fetching the list of formats is disabled for a no-vendor WMS service #10480

landryb opened this issue Jul 18, 2024 · 0 comments
Assignees
Milestone

Comments

@landryb
Copy link
Collaborator

landryb commented Jul 18, 2024

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

image

  • 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 ?

@landryb landryb added the bug label Jul 18, 2024
@tdipisa tdipisa added this to the 2024.02.00 milestone Jul 22, 2024
@tdipisa tdipisa modified the milestones: 2024.02.00, 2024.02.01 Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants