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 1358: Allow printing measures again #1214

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

ltkum
Copy link
Contributor

@ltkum ltkum commented Jan 21, 2025

Issue : Measures could not be printed anymore
Cause : With the implementation, we had set the graphicYoffset to NaN instead of 0 when there is no offset, meaning the print service could not interpret it
Fix : We ensure the graphicYoffset is set to 0 if non existent.

Test link

@ltkum ltkum requested a review from pakb January 21, 2025 12:48
@github-actions github-actions bot added the bug label Jan 21, 2025
Copy link

cypress bot commented Jan 21, 2025

web-mapviewer    Run #4363

Run Properties:  status check passed Passed #4363  •  git commit 97f35efe0d: Merge pull request #1214 from geoadmin/fix-PB-1358-fix-printing-for-measures
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4363
Run duration 01m 48s
Commit git commit 97f35efe0d: Merge pull request #1214 from geoadmin/fix-PB-1358-fix-printing-for-measures
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 ↗︎

@ltkum ltkum force-pushed the fix-PB-1358-fix-printing-for-measures branch from 3ff16fc to 4fa426e Compare January 21, 2025 13:48
Issue : Measures could not be printed anymore
Cause : With the implementation, we had set the graphicYoffset to NaN instead of 0 when there is no offset, meaning the print service could not interpret it
Fix : We ensure the graphicYoffset is set to 0 if non existent.
@ltkum ltkum force-pushed the fix-PB-1358-fix-printing-for-measures branch from 4fa426e to f9bc53b Compare January 21, 2025 14:13
@pakb pakb merged commit 97f35ef into develop Jan 22, 2025
6 checks passed
@pakb pakb deleted the fix-PB-1358-fix-printing-for-measures branch January 22, 2025 06:46
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