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

[BUG] "Download as PDF" option does not work #1658

Closed
Maniues opened this issue May 9, 2024 · 2 comments
Closed

[BUG] "Download as PDF" option does not work #1658

Maniues opened this issue May 9, 2024 · 2 comments

Comments

@Maniues
Copy link
Contributor

Maniues commented May 9, 2024

Steps to Reproduce

  1. Log in and enter to your workout routine
  2. Click on Options and Download as PDF
  3. Set your settings and confirm

Expected results:
The PDF with the table or log starts to download.
Actual results:
An error occurs.

The page you requested does not exist.
@Maniues Maniues changed the title "Download as PDF" option does not work [BUG] "Download as PDF" option does not work May 10, 2024
@Maniues
Copy link
Contributor Author

Maniues commented May 12, 2024

Note: I found this bug on default wger.de instance.

@rolandgeider
Copy link
Member

good catch! The problem was that (like all numbers in templates), theIDs used for the form were localized, so instead of getting to /pdf/1000/... this would output /pdf/1.000/... which obviously doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants