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

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

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    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

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

              Dates

                Created:
                Updated:
                Resolved: