Closed tudorbarascu closed 3 years ago
@pblottiere any opinion here?
I think it's a good solution to add empty or strings like "unknown" in diameter column. There is already on unknow diameter per material type to handle such situations.
@tudorbarascu Have you tried it on 3.10.3? Is it still disfunctionning?
We are currently pushing for a great amount of corrections for the relationnal widget and chain filters.
Much has been done by @troopa81 on https://github.com/qgis/QGIS/pull/34943
We still need more testing on future 3.10.4 and master
3.14.0 seems to fix this, as soon as you have a valid Null diameter entity for your material :
Otherwise it will take the first diameter available (that's why a check that every material has a Null diameter instance should be checked)
@tudorbarascu this seems to be solved to me, please feel to reopen if needed.
When using chain filters, it's not possible to select a material that has a NULL diameter.
This means the "Other", "Unknown", "To be determined" values and all the materials without Diameter cannot be selected.
The combinations between material and NULL diameter are unique, so it should have worked.
A solution is to add empty string in the Diameter part and the user can select the empty string. I can make a pull request in the data model but I think this should be fixed in the widget.