QGIS
QGIS copied to clipboard
Fix adding a relation within multiple edition
Description
Context
A 1-N relation between a layer A ("projet" in example) and layer B ("document" in example) where one feature in layer A can have multiple linked features in layer B.
Bug
- Correctly configure the relation between the layers and the relational widget in layer A
- Select multiple features from layer A
- Clic on the multiple edition tool
- Add a new relational feature (in layer B)
- Fill-in the attributes of the new feature (layer B)
- EXPECTED: the new feature should be copied for every feature selected in layer A
BUG: the attributes are not copied
Fix
The first feature is correctly added but the other features were added too early, before the user had filled-in the attributes.
This was due to the modality of the attribute form when adding the layer B feature.
With this form now modal, QGIS waits to have all the attributes for all the features to be filled-in.