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

New Release v1.48.2 - #patch #1142

Merged
merged 9 commits into from
Nov 26, 2024
Merged

New Release v1.48.2 - #patch #1142

merged 9 commits into from
Nov 26, 2024

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Nov 26, 2024

The KML extent detection was not performing as expected with KML that had only one dimension out of LV95 bounds.

To counteract that, I've reverted the logic in the extent calculation, transforming LV95 bounds into WGS84 to do the matching instead of transforming a potentially big WGS84 extent to LV95 (lead to big math error...)
When opening the app with a layerId=featureId URL param, the ; was still added to the layers URL param after processing the feature pre-selection. This means the layers URL param was malformed and an error showed up.
PB-1211 : do not add ; if layer with feature selection is alone
some feature IDs ends with something like "1314.070" and the layer parsing code was transforming them into number, removing the trailing zero from the ID.

This broke many "Link to object" link generated by the backend.

Also fixing an issue with the time slider warning not being wrapped in an array, and generating a crash when its value was not set to something valid


PB-1222 : fix mishandling of feature ID that are "number-like"
@pakb pakb requested a review from ltkum November 26, 2024 13:10
@github-actions github-actions bot changed the title #patch New Release v1.48.2 - #patch Nov 26, 2024
Copy link
Contributor

@ltkum ltkum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

cypress bot commented Nov 26, 2024

web-mapviewer    Run #3918

Run Properties:  status check passed Passed #3918  •  git commit 5ef21e4b45: Merge pull request #1142 from geoadmin/develop
Project web-mapviewer
Branch Review master
Run status status check passed Passed #3918
Run duration 01m 44s
Commit git commit 5ef21e4b45: Merge pull request #1142 from geoadmin/develop
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

@pakb pakb merged commit 5ef21e4 into master Nov 26, 2024
8 checks passed
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.

3 participants