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

Bugfix JS: Catch error from GetLegendGraphics #3995

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Dec 1, 2023

GetLegendGraphics can return response with code 400 and xml content like this

<?xml version="1.0" encoding="UTF-8"?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">
 <ServiceException code="LayerNotDefined">The layer ' routes et chemins' does not exist.</ServiceException>
</ServiceExceptionReport>

Funded by Conseil Départmental du Territoire de Belfort

@rldhont rldhont added javascript Pull requests that update Javascript code run end2end If the PR must run end2end tests or not backport release_3_7 labels Dec 1, 2023
@rldhont rldhont requested a review from nboisteault December 1, 2023 11:16
@github-actions github-actions bot added this to the 3.8.0 milestone Dec 1, 2023
@rldhont rldhont merged commit a2f88c5 into 3liz:master Dec 1, 2023
12 checks passed
@rldhont rldhont deleted the fix-js-catch-getlegendgraphic-error branch September 10, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants