Renaming a page containing relative references in a display macro incorrectly converts the relative references to direct references. Steps to reproduce:
- Create a page:
Sandbox.Renaming-Bug.Page.WebHome
- Create subpages with content:
Sandbox.Renaming-Bug.Page.FirstSubPage.WebHome Sandbox.Renaming-Bug.Page.SecondSubPage.WebHome
- Include the subpages in the page using the display macro using relative references:
{{display reference=".FirstSubPage.WebHome"/}}{{ }} {{display reference=".SecondSubPage.WebHome"/}}
- The content of the subpages is displayed accurately in Page.
- Rename Page to PageRenamed using Move/Rename.
- The content of the subpages is not being displayed in PageRenamed.
- Check the source code of {{{}PageRenamed:
{{display reference="Sandbox.Renaming-Bug.Page.FirstSubPage.FirstSubPage.WebHome"/}}
}}{{{{display reference="Sandbox.Renaming-Bug.Page.FirstSubPage.SecondSubPage.WebHome"/}}}}{} |