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

Cache issue ? #35

Open
nboisteault opened this issue Dec 5, 2019 · 7 comments
Open

Cache issue ? #35

nboisteault opened this issue Dec 5, 2019 · 7 comments
Assignees
Labels

Comments

@nboisteault
Copy link
Member

With version just before 3.0, I have the print that uses two different features randomly for its display.
Go here an refresh multiple times : https://plantations.parc-marais-poitevin.fr/index.php/lizmap/service/?repository=entreprise&project=Plantation_entreprise_v2&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrintAtlas&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&DPI=100&TEMPLATE=impression_chantier_atlas&LAYER=atlas_projet_plantation_&EXP_FILTER=$id%20IN%20(88)

Correct title is 'BICHON Jean' but sometimes 'Commune de DAMVIX Emmanuel COTET 2019 / 2020' is displayed.

@rldhont
Copy link
Collaborator

rldhont commented Dec 5, 2019

Can you provide enough precision:

  • QGIS Server version ?
  • Plugin version ?
  • OS ?
  • Docker ?

@rldhont
Copy link
Collaborator

rldhont commented Dec 5, 2019

What is the atlas_projet_plantation_ layer provider ?
What is the primary key field of this layer ?

@nboisteault
Copy link
Member Author

I fixed this issue by removing the first column of my layer which was an ID generated with row_number in SQL. I was not using this column but it seems it was conflicting.

@Gustry
Copy link
Member

Gustry commented Dec 6, 2019

Did you want to close this ticket?

@rldhont
Copy link
Collaborator

rldhont commented Dec 6, 2019

We needs to check QGIS Server and QGIS feature id to know if we can extend the support field type in the replacement of $id by the field name.

@nboisteault
Copy link
Member Author

I closed because I found a way to handle the issue but it remains a bug.

@Gustry
Copy link
Member

Gustry commented Apr 29, 2021

Linked to 3liz/lizmap-web-client#2253 and #44 which is now closed ?

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

No branches or pull requests

4 participants