Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
[bugfix][server] respect relations in getfeatureinfo
- Loading branch information
Showing
with
52 additions
and 9 deletions.
- +5 −0 src/core/qgsproject.cpp
- +21 −8 src/core/qgsproject.h
- +1 −1 src/server/qgsconfigcache.cpp
- +13 −0 tests/src/python/test_qgsserver_wms_getfeatureinfo.py
- BIN tests/testdata/qgis_server/test_project_value_relation.qgz
- BIN tests/testdata/qgis_server/value_relation.gpkg
- +12 −0 tests/testdata/qgis_server/wms_getfeatureinfo_value_relation.txt
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@ | ||
Content-Length: 238 | ||
Content-Type: text/xml; charset=utf-8 | ||
|
||
<GetFeatureInfoResponse> | ||
<Layer name="test_multi"> | ||
<Feature id="7"> | ||
<Attribute value="7" name="fid"/> | ||
<Attribute value="10" name="id"/> | ||
<Attribute value="Piacenza" name="fk_prov"/> | ||
</Feature> | ||
</Layer> | ||
</GetFeatureInfoResponse> |