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

After page rename, the old page redirects wrongly to Main.WebHome

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      Steps to reproduce:
      1. Create a page Page1.WebHome
      2. Rename it to Main.Page1.WebHome.

      The links are updated, the redirect is created and the original page is hidden.

      However, as Admin, I can still see it in the Breadcrumbs and in the Page Tree macro and if I try to access it, I'm redirected to Main.WebHome.
      I noticed the same behaviour while trying to access from url:
      127.0.0.1:8080/xwiki/bin/view/Page1/

      In the original page, the XWiki.RedirectClass object has value WebHome, while maybe it should be Main.Page1.WebHome.

      This happens only when the new parent doesn't have a parent. In this case Main's parent is null.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acotiuga Alex Cotiugă
                Reporter:
                acotiuga Alex Cotiugă
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: