Bug report #18754
Embedded form: data stays in form when last feature in relation is removed
|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 #:||26641|
In an embedded form of a n:m relation - if one deletes the last linked feature (with Delete Feature), the data of the last feature still remains in the embedded form.
However, if one unlinks the last linked feature, the embedded form is correctly cleared.
It is suggested that after deletion of the last related feature, that the form is fully cleared, like in the unlink case.
See 4 screenshots attached: first two: deletion, 3 and 4: unlinking