Skip to content

New Release v1.58.0 - #minor#1384

Merged
ltkum merged 2 commits intomasterfrom
develop
Jul 29, 2025
Merged

New Release v1.58.0 - #minor#1384
ltkum merged 2 commits intomasterfrom
develop

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Jul 29, 2025

Issue: When introducing support for offline use of the mapviewer, we introduced a situation where QR code generation wouldn't work as soon as it was used once.

Cause: The service-worker used to cache the mapviewer for local use also cached the URL for the QR code, which was then called by the mapviewer instead of the service in the backend.

Fix: We exclude the QR Code from the caching, as we did with service print

Test link

ltkum and others added 2 commits July 29, 2025 09:29
Issue: When we want to generate a QRCode on edge or firefox (and sometimes on chrome), we are hitting the service worker cache instead, which is trying to inject the manifest.

Fix: We exclude the QRCode api from the routes
…ation

PB 1823: Allow QR Code to be generated again when not in cache
@ltkum ltkum requested a review from schtibe July 29, 2025 09:04
@github-actions github-actions bot changed the title Patch: correct bug which cause QR codes to no longer be generated New Release v1.58.0 - #minor Jul 29, 2025
@cypress
Copy link

cypress bot commented Jul 29, 2025

web-mapviewer    Run #5530

Run Properties:  status check passed Passed #5530  •  git commit e8c85ab184: Merge pull request #1383 from geoadmin/fix-PB-1823-allow-qrcode-generation
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #5530
Run duration 06m 31s
Commit git commit e8c85ab184: Merge pull request #1383 from geoadmin/fix-PB-1823-allow-qrcode-generation
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 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 254
View all changes introduced in this branch ↗︎

@ltkum ltkum merged commit 68e0eb7 into master Jul 29, 2025
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.

2 participants