cubicweb #8529868 [web] "removed" entities are not deleted when they should [validation pending]

Suppose we have a couple of entities, one being a composite of the other.

Through an uicfg hint, we can ask the edition form for the composite to show the full edition form for the subentity.

If the user clicks on the "remove" link of the subentity, we expect it to get deleted. This does not happen anymore, probably because of the change of composite relation handling in cw 3.18. Instead, the relation is broken between composite and subentity, and depending on the cardinality, we get an "orphan" subentity or a validation error.

To restore the correct behaviour we have to modify a bit the edit controller.

priorityimportant
typebug
done in3.19.14
load1.500
load left0.000
closed by#113e9da47afc [edit controller] Cancel RQL queries to be performed on entities to be deleted
patch[forms] Do not raise errors on composite required relation being deleted [reviewed][forms] Do not raise errors on composite required relation being deleted [applied][edit controller] fix handling of removal of subentities from an edit form [applied][editcontroller] a slight code reorganisation, in preparation for a fix [applied][edit controller] Cancel RQL queries to be performed on entities to be deleted [applied][edit controller] Cancel RQL queries to be performed on entities to be deleted [in-progress][edit controller] fix handling of removal of subentities from an edit form [in-progress][editcontroller] a slight code reorganisation, in preparation for a fix [in-progress][web/test] remove useless import [in-progress]