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

[Backport 2.4] Fix API overlays with not existing WMTS layers #5915

Merged
merged 3 commits into from Jun 11, 2020

Conversation

c2c-bot-gis-ci
Copy link
Collaborator

Backport of #5912

Error on cherry picking:
Error on backporting to branch 2.4, error on cherry picking ['6788e82106ac53f87f2a0f58e50f56de1344e6b2', 'b346f004ed25afbae4a521892ecaecdb1ab7add3', 'ca9ed73d6ce4a5be6667cb60de87090aed61100e']:
error: could not apply b346f00... Replace missing layer by existing one in api example
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add ' or 'git rm '
hint: and commit the result with 'git commit'

To continue do:
git fetch
git checkout backport/5912-to-2.4
git reset --hard HEAD^
git cherry-pick b346f00
git cherry-pick ca9ed73
git push origin backport/5912-to-2.4 --force

In case overlay WMTS layer does not exists in capabilities,
there is a warning logged in createWMTSLayer which returns null.

This commit fix those null handling in Map class.
@arnaud-morvan arnaud-morvan merged commit 50d861a into 2.4 Jun 11, 2020
@arnaud-morvan arnaud-morvan deleted the backport/5912-to-2.4 branch June 11, 2020 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants