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

Export fails when layout name contains slash #48

Closed
buttercookie42 opened this issue Nov 16, 2021 · 0 comments · Fixed by #50
Closed

Export fails when layout name contains slash #48

buttercookie42 opened this issue Nov 16, 2021 · 0 comments · Fixed by #50
Labels

Comments

@buttercookie42
Copy link

Describe the bug
If a layout name happens to contain a slash, the export fails.

To Reproduce
Steps to reproduce the behavior:

  1. Create a layout with a slash in its name, e.g. "Exampletown North/South-Link".
  2. Try exporting the layout via Maps Printer.
  3. It fails.

Expected behavior
The layout is exported, any characters in the layout title that are illegal for file names (at the very least the path separator, on Windows the full complement of illegal characters seems to be \ / : ? " < > |) are replaced by some suitable substitute. If I try exporting that layout directly via QGIS's built-in export, the proposed default filename replaces the slash with an underscore, Maps Printer should do something similar.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • QGIS version: 3.10.7-A Coruña
  • OS: Windows 10
  • Maps Printer Version 0.8
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 a pull request may close this issue.

1 participant