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

Widget Value Relation #28275

Closed
qgib opened this issue Nov 11, 2018 · 9 comments
Closed

Widget Value Relation #28275

qgib opened this issue Nov 11, 2018 · 9 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms

Comments

@qgib
Copy link
Contributor

qgib commented Nov 11, 2018

Author Name: Lene Fischer (@LeneFischer)
Original Redmine Issue: 20455
Affected QGIS version: 3.4.1
Redmine category:forms
Assignee: Alessandro Pasotti


I have made a project with a point layer and two lookup tables: Group and Subgroup in the Subgroup tabel is listed 'group', 'subgroup' and 'label'

In the Layer properties >Attriute Form > Widget type >Value Relation I have made settings to lookup in the 'Group' lookup and the sub group.
That works fine. The first group and subgroup is shown. If I choose a new Group the new subgroup item are shown.
But the 'label' is not set correct. All the features in the table are shown.

If I choose a new group and subgroup the label are set - but only if the subgroup consist of more than one item.

I have made a video https://www.screencast.com/t/mKEjlmfBIxFK


@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Alessandro Pasotti (@elpaso)


I can't see the screencast (no flash player here since a long time).

@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Alessandro Pasotti (@elpaso)


Also, if you could attach a sample project and data, that would be perfect.

@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Lene Fischer (@LeneFischer)


  • 13740 was configured as hilleroed_lille_omraade.gpkg
  • 13739 was configured as froedal_delvis.qgs

@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Lene Fischer (@LeneFischer)


Video https://www.youtube.com/watch?v=aX3dpKyfQY4&feature=youtu.be

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


Hi Lene,

I may have a fix for this issue, would you be able to test a windows build? (I can quickly package and send you a test build but without python support).


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


PR #8464


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

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2018

Author Name: Alessandro Pasotti (@elpaso)


Here is the windows test build, no need to install, just unzip somewhere and run qgis.exe, remove the folder to uninstall.

http://www.itopen.it/bulk/qgis-mxe-release-2018-11-12-15-03-01.zip

What to test:

  • the original project attached to this ticket
  • how does it work with new and existing features

@qgib
Copy link
Contributor Author

qgib commented Nov 12, 2018

Author Name: Lene Fischer (@LeneFischer)


Thanks!!!! Now it works :-)

@qgib
Copy link
Contributor Author

qgib commented Nov 13, 2018

Author Name: Anónimo (Anónimo)


Applied in changeset d479b4d.


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

@qgib qgib closed this as completed Nov 13, 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