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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 16.10.0-rc-1
    • 6.4.6, 11.0.3
    • Old Core, Refactoring
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    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

              surli Simon Urli
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: