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

Relative links to self typed as "doc" are not updated correctly on rename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 13.10.3
    • Refactoring
    • Unknown

    Description

      Steps to reproduce

      1. Create terminal page "Sandbox.A" with the following content:

      [[Link to self>>doc:A||anchor="section1"]]
      

      2. Rename "Sandbox.A" to "Sandbox.A.WebHome" with option "Update links" activated and without activating the redirects

      Expected result

      The content of the page is udpated to the following:

      [[Link to self>>doc:Sandbox.A.WebHome||anchor="section1"]]
      

      or even better:

      [[Link to self>>||anchor="section1"]]
      

      Actual result

      The page contains the following link, which points at an inexistent page:

      [[Link to self>>doc:Sandbox.A||anchor="section1"]]
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              slauriere slauriere
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: