Bug report #16400
Relation reference widget - filter lists are not refreshed in attribute table form view
|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|
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)
#2 Updated by Regis Haubourg over 2 years ago
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.