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

Relative links are made absolute or even broken after moving a page

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.4.6, 11.0.3
    • Fix Version/s: None
    • Component/s: Old Core, Refactoring
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:
      1. Create a page Foo.WebHome with the following content:

      [[Alice]]
      [[Bob]]
      [[Eve]]
      

      2. Create the page Foo.Alice.WebHome with the following content:

      [[Bob]]
      

      3. Create the page Foo.Bob.WebHome with the following content:

      [[Alice]]
      

      4. Move the page Foo and its nested pages to Foo2.

      Expected results:

      • Foo2 and nested pages are moved
      • All links are working
      • All links are still relative even the not created Eve page

      Obtained result:

      • Foo2 and nested pages are moved
      • the link in Bob page to Alice is broken (now pointing to Foo.Alice.WebHome)
      • the links are now all absolute
      • the link to not created Eve now points to the Foo space

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: