Child pages
  • [cms] The filename of protected pages isn't auto-generated without Debug Mode [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

In debug mode the developer can protect any CMS page from administrators user. The protected pages are still accessible from both Admin Console and Website, but:

  • their status (the "Status" field) can't be changed (e.g. Approved, Declined)
  • their url fragment (the "AutomaticFilename" and "Filename" fields) can't be changed
  • their type (the "Type" field) can't be changed (e.g. from "Template" to "Virtual" and vice versa)
  • the protection can't be removed

The protection code doesn't take into account the fact, that "Filename" field (page url fragment) is changed automatically, when "AutomaticFilename" checkbox of the page is checked. This results in page url fragment never being changed automatically, when page title is changed with disabled Debug Mode.

Solution

Move category url fragment checking/generation code after code, that ensures protected field safety.

Related Tasks

INP-1594 - Getting issue details... STATUS