Bug report #8727

GetProjectSettings returns field name instead of alias for display field

Added by Bernhard Ströbl about 7 years ago. Updated almost 7 years ago.

Assignee:Marco Hugentobler
Category:QGIS Server
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17443


this would not be a problem but GetFeatureInfo returns the display field, thus QWC cannot display any hover information
except from GetProjectSettings:
<Layer displayField="adresse" queryable="1" visible="1">

a GetFeatureInfo response on this layer shows:
<Layer name="Adressen">
<Feature id="8052">
<Attribute value="Vor dem Neutor 7" name="Anschrift"/>

Anschrift has been defined as alias for the field adresse so GetFeatureInfo works as it should.

Associated revisions

Also available in: Atom PDF