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

Relation Reference Widget: Representation for NULL values is not respected #27725

Closed
qgib opened this issue Sep 20, 2018 · 5 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms

Comments

@qgib
Copy link
Contributor

qgib commented Sep 20, 2018

Author Name: Manuel K (Manuel K)
Original Redmine Issue: 19901
Affected QGIS version: 3.3(master)
Redmine category:forms
Assignee: Alessandro Pasotti


Drop-down list of Relation reference widget:

Whatever "Representation for NULL values" is configured in "Options - Data Sources", a NULL value in the drop-down list is always wrongly displayed as "NULL".

See attached example with "MY_NULL_REPRESENTATION_VALUE" as NULL representation.


@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: Alessandro Pasotti (@elpaso)


does this also happen if you restart QGIS after changing the null value representation?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: Manuel K (Manuel K)


Yes.
I changed the null value representation to several other values (my preferred setting is an empty string by the way) and always restarted QGIS. Same behaviour.

@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: Alessandro Pasotti (@elpaso)


  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: Alessandro Pasotti (@elpaso)


PR #7969


  • status_id was changed from Feedback to In Progress
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Sep 21, 2018

Author Name: Anónimo (Anónimo)


Applied in changeset 5378e37.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Sep 21, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms labels 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! Forms
Projects
None yet
Development

No branches or pull requests

1 participant