Skip to content

fix WMS getMap unhandled exception#12372

Open
stefanocudini wants to merge 2 commits into
geosolutions-it:masterfrom
stefanocudini:fix-12371-wms-getmap-unhandled-error
Open

fix WMS getMap unhandled exception#12372
stefanocudini wants to merge 2 commits into
geosolutions-it:masterfrom
stefanocudini:fix-12371-wms-getmap-unhandled-error

Conversation

@stefanocudini
Copy link
Copy Markdown
Member

@stefanocudini stefanocudini commented May 12, 2026

Fix issue #12371

Description

Improvement of rendering block condition for the Openlayers WMS layer. If an exception is returned in the XML response by geoserver body, the individual image tile is blocked and removed from the queue.
the modified logic is here:
/web/client/components/map/openlayers/plugins/WMSLayer.js in custom loader: loadFunction()

A generic WMS utils has been added parseOGCException for exception parsing to display in the console in the event of specific ogc errors.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

#12371

What is the new behavior?
In the case of exceptions from the geoserver, the attempt to reload the layer is blocked in any case and the specific exception message is displayed in the console

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

For a complete reproduction of the fix, the production environment where the bug was identified is required, which requires a distribution of the layers on the geoserver via authentication and consistent configuration of the requestsConfigurationRules. See on related issues.

added test

remove xml test
@stefanocudini stefanocudini self-assigned this May 12, 2026
@cla-bot cla-bot Bot added the CLA Ready label May 12, 2026
@stefanocudini stefanocudini linked an issue May 12, 2026 that may be closed by this pull request
1 task
@stefanocudini stefanocudini added this to the 2026.02.00 milestone May 12, 2026
@allyoucanmap allyoucanmap self-requested a review May 13, 2026 07:55
@stefanocudini stefanocudini changed the title fix WMS for exception fix WMS getMap unhandled exception May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WMS GetMap unhandled error for custom requestsConfigurationRules

3 participants