Skip to content

PB-1260: handle legacy value 'voidLayer'#1153

Merged
pakb merged 1 commit intodevelopfrom
fix-PB-1260-voidLayer-full-support
Dec 2, 2024
Merged

PB-1260: handle legacy value 'voidLayer'#1153
pakb merged 1 commit intodevelopfrom
fix-PB-1260-voidLayer-full-support

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Dec 2, 2024

Issue: In the old mapviewer, it was possible to have the bgLayer parameter to equals 'voidLayer', which is equivalent to the current 'void' parameter. However, it caused issues where it displayed errors and refused to show the correct "layer".

Cause: we did not handle the parameter at all in the legacy parser.

Fix: when bgLayer is set to 'voidLayer' while navigating a legacy route, we handle it correctly and transform it to 'void'

Test link

Issue: In the old mapviewer, it was possible to have the bgLayer parameter to equals 'voidLayer', which is equivalent to the current 'void' parameter. However, it caused issues where it displayed errors and refused to show the correct "layer".

Cause: we did not handle the parameter at all in the legacy parser.

Fix: when bgLayer is set to 'voidLayer' while navigating a legacy route, we handle it correctly and transform it to 'void'
@ltkum ltkum requested a review from pakb December 2, 2024 13:34
@github-actions github-actions bot added the bug label Dec 2, 2024
@cypress
Copy link

cypress bot commented Dec 2, 2024

web-mapviewer    Run #3952

Run Properties:  status check passed Passed #3952  •  git commit b04e016bac: PB-1260: handle legacy value 'voidLayer'
Project web-mapviewer
Branch Review fix-PB-1260-voidLayer-full-support
Run status status check passed Passed #3952
Run duration 05m 45s
Commit git commit b04e016bac: PB-1260: handle legacy value 'voidLayer'
Committer Martin Künzi
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 214
View all changes introduced in this branch ↗︎

@pakb pakb merged commit 4dec99d into develop Dec 2, 2024
@pakb pakb deleted the fix-PB-1260-voidLayer-full-support branch December 2, 2024 13:47
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