Bug report #6281
attribute editor: NULL value for relation value
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15581 |
Description
When you display a combo box for a relation value (foreign key) in the attribute editor and choose to show the items ordered, a NULL-value is not selected, when the data has a NULL-value.
The attached patch solves this problem. Apart from that, the NULL-value is now always the first item in the combobox.
History
#1
Updated by Giovanni Manghi over 12 years ago
- Pull Request or Patch supplied changed from No to Yes
#2
Updated by Andreas Neumann over 12 years ago
- Assignee set to Jürgen Fischer
Hi Jürgen,
Can you please have a look at this patch? I think you know this bit of code the best.
Thanks,
Andreas
#3
Updated by Paolo Cavallini over 12 years ago
- Target version set to Version 2.0.0
#4
Updated by Jürgen Fischer about 12 years ago
- Resolution set to fixed
- Status changed from Open to Closed
applied in b121a2f688