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
  • !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
Time tracking
Source branch: fix/prevent-template-edit
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7