cubicweb #2070042 ValidationError are eaten during recursive delete of Entities [resolved]
When entities are deleted recursively by following composite relations, ValidationErrors (raised by hooks for instance) are eaten by a catch-all except block. Same thing for Unauthorized which could be raised by custom hooks (we are in a context manager disabling some of these but user hooks could raise this anyway).
The main consequence is that the display does not display the usual message but the stack caused by the commit() which should not happen since ValidationError or Unauthorized force a rollback().
|closed by||#41398fa1a90f [rql, integrity] let ValidationError and Unauthorized pass during composite deletion (closes #2070042)|