Bug report #19137
Mutations in embedded forms (1:n) are not stored until user clicks in side bar of embedded form
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Forms | ||
Affected QGIS version: | 3.1(master) | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 26967 |
Description
In the EWS project of Kanton Zug (Matthias has data and project), users sometimes want to modify data of embedded form (1:n relation).
However, after modifications in the embedded linked records are not stored until user clicks into side bar of embedded form (see screenshot attached).
Only then, the modifications are added to the open transaction, otherwise, any modifications are lost.
Expected: data is stored always, whenever user leaves the focus of one widget of an embedded form, e.g. by using tab keys or by clicking anywhere in the parent form, or into another widget insided or outside of the embedded form.
Associated revisions
Take changes of embedded forms into account
when clicking on ok of an attribute form, tell all embedded widgets (all
widgets actually) that we are going to close the form and it's the last
call to push changes to the edit buffer or they will be lost.
Fix #19137
History
#1 Updated by Anonymous over 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|0749835071e8c73f6cca82e7c7718144eb90de7f.