Skip to content
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: value relations with multiple values are not properly resolved #20399

Closed
qgib opened this issue Feb 16, 2015 · 2 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 16, 2015

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 12210
Affected QGIS version: 2.6.0
Redmine category:qgis_server
Assignee: Jürgen Fischer


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.


@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2015

Author Name: Andreas Neumann (@andreasneumann)


  • 8427 was configured as qgis_server_value_relation_feature_info_result.png
  • 8426 was configured as value_relation_widget.png

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2015

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "ceceebdf9ba5c118de63c218bec6a35ef178c515".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server labels May 25, 2019
@qgib qgib added this to the Version 2.8 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant