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

PB-1222 : fix mishandling of feature ID that are "number-like" #1141

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Nov 26, 2024

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

Test link with "Link to object" params
Test link

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
@pakb pakb requested a review from ltkum November 26, 2024 13:01
@github-actions github-actions bot added the bug label 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

@pakb pakb merged commit 6180886 into develop Nov 26, 2024
9 checks passed
@pakb pakb deleted the fix-PB-1222-broken-link-to-object branch November 26, 2024 13:10
Copy link

cypress bot commented Nov 26, 2024

web-mapviewer    Run #3911

Run Properties:  status check passed Passed #3911  •  git commit d0fae6a6c2: PB-1222 : fix mishandling of feature ID that are "number-like"
Project web-mapviewer
Branch Review fix-PB-1222-broken-link-to-object
Run status status check passed Passed #3911
Run duration 04m 51s
Commit git commit d0fae6a6c2: PB-1222 : fix mishandling of feature ID that are "number-like"
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 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 212
View all changes introduced in this branch ↗︎

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