-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Organize - Sidebar (Content Tree)
-
None
-
Minor
Issue Summary
When a page containing a Page Tree macro with the Root content set to @self is moved to another space, the macro's root parameter keeps the original space key. The macro then fails to render in the new space and shows "The selected root page could not be found." In the macro edit panel, the Root content field appears empty.
Steps to Reproduce
- In space A, create a page and insert a Page Tree macro with Root content set to @self.
- Create two child pages under this page. Confirm that the tree renders correctly.
- Move the parent page to space B (More actions > Move).
- View the moved page in space B.
Expected Results
The Page Tree macro renders the child pages of the current page in the new space.
Actual Results
The macro shows "The selected root page could not be found." The storage format of the root parameter changes from
<ri:page ri:content-title="@self" />
to
<ri:page ri:content-title="@self" ri:space-key="<space A key>" />
The error occurs even though space A still exists.
...
Workaround
Edit the page, open the Page Tree macro settings, select @self again for Root content, and update the page. This removes the previous space key from the root parameter.
- is related to
-
CONFCLOUD-53768 Page Tree Macro with @self Root Page will not work after page move
-
- Closed
-