cubicweb #4846883 [hooks] don't insert an owned_by relation for deleted entities [validation pending]

[hooks] don't insert an owned_by relation for deleted entities

If, in the same transaction, a composed entity is created and deleted, we'll have scheduled a SyncOwnersOp which would end up creating an owned_by relation for the deleted entity.

prioritynormal
typebug
done in3.19.9
load1.000
load left0.000
closed by#116b24efad0e [hooks] don't insert an owned_by relation for deleted entities
patch[hooks] don't insert an owned_by relation for deleted entities [applied]