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

Backlinks update changes an absolute reference to the moved page into one relative to the current wiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.10.2
    • 16.4.3
    • Refactoring
    • None
    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    Description

      How to reproduce:

      • on the main wiki, create 2 pages, A and B
      • from page A, create a link to page B, but make it an absolute one (including the wiki reference, like this:
        [[B>>xwiki:B.WebHome]]
        
      • rename page B to C (on the same wiki), with the default options
      • page A is updated automatically to update the link it had to page B to page C

      Expected result:
      After update, the content of page A is

      [[B>>xwiki:C.WebHome]]
      

      so that the page is functional in the same way (e.g. if it was included from another page in another wiki).

      Actual result:
      After update, the content of page A is

      [[B>>C.WebHome]]
      

      The reference was transformed from an absolute reference into one relative to the current wiki, not clear why...

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: