Skip to content

Fix an issue when reloading a KML with adminId #560

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

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Dec 4, 2023

with the new KML data approach, and as we do not have the metadata of the layer at app startup, the URL param parser couldn't figure out if the drawing module should be shown or not (because of a protection against legacy KML layer being loaded at startup)

So instead I've completely removed any adminId passthrough when parsing legacy KML layer, this way they are never given to the "modern" app, and will not be modified by web-mapviewer (that was the goal of this protection)

Test link

@pakb pakb requested a review from ltshb December 4, 2023 12:05
@github-actions github-actions bot added the bug label Dec 4, 2023
@pakb pakb force-pushed the bug_fix_reloading_kml_with_adminid branch from 9c9492c to 56c6691 Compare December 4, 2023 13:38
@pakb pakb requested a review from ltshb December 5, 2023 06:55
pakb added 2 commits December 5, 2023 08:19
with the new KML data approach, and as we do not have the metadata of the layer at app startup, the URL param parser couldn't figure out if the drawing module should be shown or not (because of a protection against legacy KML layer being loaded at startup)

So instead I've completely removed any adminId passthrough when parsing legacy KML layer, this way they are never given to the "modern" app, and will not be modified by web-mapviewer (that was the goal of this protection)
@pakb pakb force-pushed the bug_fix_reloading_kml_with_adminid branch from af24c24 to 8f4819c Compare December 5, 2023 07:21
@pakb pakb merged commit cb5d948 into develop Dec 5, 2023
@pakb pakb deleted the bug_fix_reloading_kml_with_adminid branch December 5, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants