Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13106

The parent-child hierarchy is lost when a page is renamed

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now if you use core.hierarchyMode=parentchild and you rename a page you loose the hierarchy which is not normal.

      Steps to reproduce:
      1. Create page A and, from A, create page B (i.e. A.B).
      2. Rename A to C with "Affect 1 child"-checked.
      3. Go to C.B, edit in wiki mode, check the output of

      {{velocity}}$doc.parent{{/velocity}}

      which will still display A.WebHome instead of C.WebHome.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enygma Eduard Moraru
                Reporter:
                acotiuga Alex Cotiugă
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h