-
Notifications
You must be signed in to change notification settings - Fork 7
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
WMS GetCapabilities not returning the workspace prefix inside style names in 2.19.x #315
Comments
@aaime can you shed some light on this? |
The 2.19.x behavior is the correct one, if you're requesting on a workspace-specific capabilities document, all names must be de-qualified, including style ones, not just layer ones like in the past. It's something we fixed recently. |
thanks @aaime. |
@giohappy @aaime I was working to improve the client but there is a case where I'm not able to recognize the correct workspace of a style. |
@aaime I undersand the rationale under the decsion of dropping the workspace prefix, but now I see a couple of inconsistencies. Ambigous GetCap response
REST API response inconsistencyWhile testing other solutions based on the metadata returned from the API we notices that the workspace prefix has been stripped from the style response, but it's still used inside the layer response. |
quick report of the internal call:
|
MapStore expects to receive the the workspace prefix inside the style name returned by the GetCapabilities. It used to work in 2.18.x, even for GC requests toward workspaced services.
For example this request returns
2.19.x doesn't return the workspace prefix anymore. A similar request returns
Is this behaviour expected? Is the change on 2.19.x done on purpose?
The missing prefix breaks MapStore's Style Editor logic.
The text was updated successfully, but these errors were encountered: