Bug report #16400
Relation reference widget - filter lists are not refreshed in attribute table form view
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Matthias Kuhn | ||
Category: | Edit widget | ||
Affected QGIS version: | 2.18.3 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 24309 |
Description
When opening a standalone form, if chained filters were chosen, they are remembered and displayed correctly.
In attribute form view, when switching from one form to another, the filters are not refreshed and stay displayed with the field name, not the chosen value.
I guess some init signals are missing here. (And we suspect that init python scripts are not also loaded in this use case, but it's another bug request )
Please see the gif that show the behavior here https://share.oslandia.net/public/7df0b9 (better to download and display in a browser locally, direct display doesn't seem to work)
Associated revisions
Fixes relation reference widget by refreshing filter lists. Fixes #16400
Fixes relation reference widget by refreshing filter lists. Fixes #16400
Merge pull request #5045 from pblottiere/bugfix_refrel_218
Fixes relation reference widget by refreshing filter lists. Fixes #16400 (backport)
History
#1 Updated by Regis Haubourg over 7 years ago
- File deleted (
quote_list.png)
#2 Updated by Regis Haubourg over 7 years ago
- Priority changed from Normal to High
- File Sélection_016.png added
- File Sélection_015.png added
Well, I hadn't seen correctly the problem:
If chain filters is displayed, the real value is not displayed at all in the widget when switching from on feature to another in attribute table view. This is nastier than I thought.
See attached images showing before and after the switch.
#3 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#4 Updated by Giovanni Manghi over 7 years ago
- Description updated (diff)
- Crashes QGIS or corrupts data changed from No to Yes
#5 Updated by Paul Blottiere over 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|cea7bd39d8a3575bda85acdd15bae621e2547cd1.