cubicweb #4372127 [datafeed] handle_deletion should commit only after all deletions [resolved]
This method deletes entities that are not found anymore in the source. It loops on all entities to delete, but it commits after each deletion. This is problematic if, for example, the deletion order breaks some schema constraints (e.g. A rel B with cardinality of rel "1*", and A to be deleted before B). Since, there's no obvious way to control the deletion order, I'd suggest to only commit after all deletions.
|closed by||#98b4f7fa2e3a [datafeed] Commit after all deletions in datafeed parser|
|patch||[datafeed] Commit after all deletions in datafeed parser [applied]|