Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 141
    • Merge requests 141
  • 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
  • nexedi
  • erp5erp5
  • Merge requests
  • !2137

Merged
Created Jul 20, 2025 by Jérome Perrin@jeromeOwner

Do not set an action name on "delete_action" transitions

  • 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
Reviewer
Request review from
Time tracking
Source branch: fix/delete_action
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7