-
-
Notifications
You must be signed in to change notification settings - Fork 140
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]: data - table, virtual field with expression to show small image preview #4396
Comments
Can you elaborate ? What is is not working ? What is the error in the console ? Any picture ? |
@Gustry the table is not displayd at all on data tool |
Any error message displayed in the console ? (F12) |
no, no errors displayed in the console, just |
Please describe your issue @josemvm
is very vague. Is the panel empty ? Is the table there but empty (table headers) ? Your first description and title mention that the expression is not working (so I understand only the tip preview is not working, then later you say : "the table is not displayd at all on data tool", so it means nothing is displayed at all ? |
@Gustry sorry
the panel is not empty, the panel has de name of the table but the table doesn´t appears (no headers)
yes, it works if i remove the virtual field (just expose with WFS)
yes
no errors in the console nor in the network inspector |
Do you have data inside ? (with the virtual field enabled) |
i have no the request in the console inspector like this if the virtual field is enabled: |
Your comment above is a When you open the attribute table, all the data is fetched with WFS. |
@Gustry i can provide to you an url for inspector |
Yes, you can, with the virtual field enabled. |
@josemvm I was expecting you to see the request made to QGIS server to fetch the data : And we can see you got data from the server in the web browser : But due to recent PR about security, this Javascript injection has been disabled. There is still a bug that the table should have been loaded but only the content of the field should have been disabled. CC @laurentj and @nboisteault |
the
PR #4409 to fix it Another one will fix the thumbnail creation |
@nworr many thanks! |
but... it means that the thumbnail will appear in the table (or not)? |
yes that's the goal ( |
ok, thanks again, i will try ;-) |
with #4414 the data table will no longer be empty when using HTML tag with attributes in field content (virtual or not) PR still needed for displaying a thumbnail |
Documentation updated and fixed in source code. |
What is the bug? (in English)
this expression here https://docs.lizmap.com/next/en/publish/lizmap_plugin/attribute_table.html#tips stop working on 3.7.7-pre.7395
Steps to reproduce the issue
try to use this expression between 3.7.6 and 3.7.7-pre versions
Versions, safeguards, check summary etc
Versions :
List of safeguards :
Check Lizmap plugin
Operating system
Ubuntu 22.04
Browsers
Firefox
Browsers version
122.0.1
Relevant log output
No response
The text was updated successfully, but these errors were encountered: