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 files - wrong file name #1475

Closed
josemvm opened this issue Jan 27, 2020 · 10 comments
Closed

export files - wrong file name #1475

josemvm opened this issue Jan 27, 2020 · 10 comments
Assignees
Milestone

Comments

@josemvm
Copy link
Collaborator

josemvm commented Jan 27, 2020

hi

lizmap exports the files with wrong file name encoding (e.g.: export_Bocas_de_Incêndio.xxx in case of Bocas de Incêndio/layer name in lizmap).
#500 (comment)

thanks for your attention

@josemvm josemvm added the bug label Jan 27, 2020
@josemvm josemvm changed the title export files - with wrong file name export files - wrong file name Jan 27, 2020
@josemvm josemvm added this to the 3.2.10 milestone Jan 27, 2020
@josemvm
Copy link
Collaborator Author

josemvm commented Jan 28, 2020

the same problem when the user downloads the PDF file (printer tool)

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 10, 2020

@rldhont here i'm talking about with wrong file name (PDF output) related to printer tool

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 10, 2020

it's a very annoying situation for the users...

please, can you try to fix it?

@rldhont
Copy link
Collaborator

rldhont commented Feb 10, 2020

@josemvm I think this issue a lizmap issue not wfsOutputExtension one.

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 10, 2020

@rldhont yes, i think so too, that's why i keep it here
and that is why i ask you to try to fix it

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 13, 2020

@rldhont this issue is about the composer title into the qgis desktop

when the user downloads the printer output (PDF, JPG, PNG or SVG), lizmap doesn't assume the special characters

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 13, 2020

if (in_array((string) $composer['title'], $rComposers)) {

???

@rldhont
Copy link
Collaborator

rldhont commented Feb 13, 2020

if (in_array((string) $composer['title'], $rComposers)) {

???

This code is about excluding the restricted composers to the available composers.

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 14, 2020

somewhere into the code the name of the printer output file is formed based on the concatenation of the project name/qgis file name with string _ and with the name of the print layout/composer title ...

@rldhont rldhont modified the milestones: 3.2.10, 3.2.11 Feb 14, 2020
@laurentj laurentj modified the milestones: 3.2.11, 3.2.12 Mar 24, 2020
@nboisteault nboisteault modified the milestones: 3.2.12, 3.2.13 May 16, 2020
@laurentj laurentj modified the milestones: 3.2.13, 3.2.15 Jul 2, 2020
@rldhont rldhont modified the milestones: 3.2.15, 3.2.16 Jul 29, 2020
@nboisteault nboisteault modified the milestones: 3.2.16, 3.2.17 Oct 5, 2020
@nboisteault nboisteault modified the milestones: 3.2.17, backlog 3.2 Oct 6, 2020
@nboisteault nboisteault modified the milestones: backlog 3.2, 3.2.17 Oct 6, 2020
@nboisteault nboisteault assigned nboisteault and unassigned laurentj Oct 6, 2020
@nboisteault nboisteault removed the jelix label Oct 6, 2020
@nboisteault
Copy link
Member

typename is used to compose the file name. This one should never contain special characters. You can test that as shown in screenshot above (Launch button) :
image

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

4 participants