Skip to content

Do not set an action name on "delete_action" transitions

Jérome Perrin requested to merge fix/delete_action into master

These transitions are special, they are part of the Delete "protocol" and they should not have a title, otherwise they might be executed directly by users and this would delete the document without doing the check for related documents - in practice it deletes an document and leaves the related document broken - and it does not even leave a note in the container document's history.

see https://www.erp5.com/documentation/developer/guideline/module/erp5-Guideline.A.Validation.Workflow.Must.Have.A.Delete.State.And.Action

Merge request reports