Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 136
    • Merge requests 136
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/delete_action
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7