Bug report #12210
QGIS Server: value relations with multiple values are not properly resolved
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Jürgen Fischer | ||
Category: | QGIS Server | ||
Affected QGIS version: | 2.6.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20399 |
Description
In case of a value relation widget there is the option to select multiple values. QGIS then stores them in a text column with curly brackets and commas as a separator.
Like: {1,3,7}
QGIS server should then resolve these values, replace the codes with their text representation and output them eg. as: Meier,Müller,Schmid
Currently, QGIS server returns the raw values like {1,3,7}. In case of only a single value, the output is fine.
I also noticed that when resolving value relations, QGIS server always adds round parenthesis around the value, which wasn't the case before. These parentheses should be removed.
Associated revisions
server getfeatureinfo: delegate value representation to editor widgets (fixes #12210)
History
#1 Updated by Andreas Neumann over 9 years ago
- File qgis_server_value_relation_feature_info_result.png added
- File value_relation_widget.png added
#2 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset ceceebdf9ba5c118de63c218bec6a35ef178c515.