-
-
Notifications
You must be signed in to change notification settings - Fork 143
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]: "dispaly info" in attribute table show nothing if field used for primary key is not part of WMS/WFS capabilities #3674
Comments
@gioman |
@Antoviscomi I have the same setup, and here is not working. Maybe is something project specific. I'm happy to let someone have a look if necessary. |
Found the reason: a field that is excluded from the WMS/WFS capabilities then should not be used as "primary key" in LM plugin when it comes to te configs for a layer attribute table. I think that fields that are excluded from the WMS/WFS capabilities should not be shown at all in Lizmap plugin... feel free to move this to the LM plugin tracker, as suggestion for improvement. |
This is true, but there are already many caveats, options, and mutually exclusive rules. For instance,
We have a long list of checks we would like to do when saving the CFG file : 3liz/lizmap-plugin#389 As Lizmap is coming after the request to QGIS server, a lof of things are broken if some fields are not in the data sent by QGIS server to LWC, not only "display info" : the dataviz, the form filtering, time manager ... everywhere where the plugin is asking for a field. |
@Gustry fair enough. I think anyway that a small mouseover warning in the plugin could help the users: "do not use for primery key a field that is excluded from WMS/WFS capabilities". |
I added it in the ticket #389 already |
What is the bug?
In the attribute table of a layer (that has the "popup" option active), the "display info" panel is empty
Steps to reproduce the issue
Publish a layer in LMWC with the popup option active, and also with the attribute table available.
Open the table, select a record/feature and click on "display info" icon.
Versions
QGIS LTR on Server and Desktop, Latest version of LMWC, LM plugin and LM server plugin
Check Lizmap plugin
QGIS server version, only if the section above doesn't mention the QGIS Server version
3.28
Operating system
Ubuntu 22.04, desktop and server
Browsers
Firefox, Chrome
Browsers version
Latest
Relevant log output
No response
The text was updated successfully, but these errors were encountered: