Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !2137

Do not set an action name on "delete_action" transitions

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge fix/delete_action into master Jul 20, 2025
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 5

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/delete_action
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7