Editor pages should not open on publish and should set hideInNav=true by default

Description

The editor pages are usually located below /content maybe even on a level below the homepage which potentially appears in some navigation. Therefore the property hideInNav should be set to true for those pages. Also in case a URL of an editor page is explicitly requested on the publish a 404 should be returned!

Activity

Show:
Stefan Seifert
March 15, 2018, 8:24 AM

hideInNav is defined in https://github.com/wcm-io/wcm-io-caconfig/commit/d72c98385348a395dbb69b7d6ad7681f07dd42bf

please note that usually the template shipped with the caconfig editor is not used - it's only an example template.
the recommended usage is to only include the caconfig editor bundle in your application which contains only the page resource type - and define the template in you own application so you have full control about the template metadata and allow rules.
http://wcm.io/caconfig/editor/usage.html#Defining_the_editor_template

Stefan Seifert
March 15, 2018, 7:50 AM

Therefore the property hideInNav should be set to true for those pages.

makes sense!

Also in case a URL of an editor page is explicitly requested on the publish a 404 should be returned!

this has to be done via configuration: http://wcm.io/caconfig/editor/usage.html#Disable_Editor_on_Publish

Fixed

Assignee

Stefan Seifert

Reporter

Konrad Windszus

Labels

None

Components

Affects versions

Priority

Major