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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 13.10.3
    • Fix Version/s: None
    • Component/s: Refactoring
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: