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 140
    • Merge requests 140
  • 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
  • !822

Merged
Created Jan 15, 2019 by Jérome Perrin@jeromeOwner

Revert "Show Id of template."

  • Overview 7
  • Commits 1
  • Changes 1

This reverts commit b7d9590c.

Users are not supposed to edit templates because documents are not in their "normal" context, if user edit templates some unexpected things might happen. We don't want user to change state or do some actions that may cause interactions on other documents from a template. This was never strongly enforced, but there was not supposed to be an easy way for users to access the template document.

With old versions of ERP5 (before the rework of isIndexable / isSubTreeIndexable ), users could also add lines inside the template document and these lines where indexable.

Note that the way of editing templates is:

  • make a "real" document from the template
  • modify this document
  • use "Make Template" again - this will replace the document with the same title.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/prevent-template-edit
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7