-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
QGIS Server WMS GetFeatureInfo does not evaluate represent_value expression in maptip #30719
Comments
Does not work with QGIS Server 3.16.3 neither. |
Any chance to have a test project and data? |
Old issue ;) I need to re-test it and provide QGIS project with test data |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
@nboisteault or @Gustry do you have any test project ? |
I'm currently creating a project. |
You'll find in this zip a QGIS project with two layers in a geopackage. Use the maptip tool on the only point of Then you can execute this query (change path accordingly) :
As you see, expression is not interpreted. I had the same bug with Thanks @elpaso for your help. |
I'm facing same issue with the relation_aggregate function. |
Muchas gracias ! |
Describe the bug
When getting HTML GetFeatureInfo response from QGIS Server, for a vector layer with a maptip configured, the
represent_value
method which replaces the field value with its represented value (for example for Value Relation edit widget) is not evaluated in the server context.How to Reproduce
category
fieldrepresent_value("category")
represent_value
QGIS and OS versions
Test with QGIS Server 3.4.9
The text was updated successfully, but these errors were encountered: