Bug report #16876
Relation reference widget: records with NULL display a value
|Affected QGIS version:||2.18.10||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||24775|
In 2.18.x records that have a NULL value in the database and a relation reference widget assigned with the option "Allow NULL values" active show a value (the first in the list) in the widget, when in fact the data is set to NULL in the database.
This leads to the false impression that a value was selected in the relation reference widget, which is not true.
Expected: the widget should show an "empty" value, or even better: show the NULL representation (e.g. NULL as a string).
#4 Updated by Giovanni Manghi over 1 year ago
salvatore fiandaca wrote:
I tried in 2.18.28 and in 3.4.4 and I do not know any problems
therefore I close issues
before closing you should put the ticket in feedback mode, and ask the issuer to check.
If you close (for example because the issuer has confirmed the issue is gone) then you also must set the resolution, thanks.