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
  • !822

Revert "Show Id of template."

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/erp5:fix/prevent-template-edit into master Jan 15, 2019
  • Overview 7
  • Commits 1
  • Pipelines 0
  • 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
Reviewers
Request review from
Time tracking
Source branch: fix/prevent-template-edit
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7