Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
3.0
-
3
-
Severity 2 - Major
-
Description
If the {pagetree} macro is used in a template that contains variables, the save process will fail. During the "insert variables" stage, the space name disappears from the breadcrumb bar and a "page not found" error is returned when creating the page.
Steps to reproduce:
- Create a global template with the following source:
This is my @Topic@ page. h2. Description {excerpt} @Excerpt|textarea(5,10)@ {excerpt} h2. Body write something here. h2. Mood When I wrote this, I was feeling @Mood|list(edgy,tense,nervous,anxious)@ {pagetree}
- Navigate to a space where you have permission to create pages.
- Create a page using the template. Note that the breadcrumb bar no longer contains the space name.
- Whether or not you fill any variables, the page save will fail.
This happens with both page and space templates. Nothing is returned in the logs.
Attachments
Issue Links
- is related to
-
CONFSERVER-30074 Page Tree and Page Tree Search macros cause Global Templates to not function properly
- Closed
-
CONFSERVER-22163 pagetreesearch macro breaks in template that contain variable
- Closed