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

Outgoing relative links are not updated in translated documents on document move

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. In a multilingual wiki (eg English and French languages), create terminal page "Sandbox.A" with default language set to English and the following content:

      Link to [[doc:B]]
      
      [[attach:B@image.png]]
      
      [[image:B@image.png]]
      

      2. Translate the page to French with the following content:

      Lien vers [[doc:B]]
      
      [[attach:B@image.png]]
      
      [[image:B@image.png]]
      

      3. Rename "Sandbox.A" to "Sandbox.A.WebHome", with option "Update links" activated

      Expected result

      The outgoing references in both the English and the French versions of the page are updated.

      Actual result

      The English version is updated as expected to the following with an history entry "Updated the relative links.":

      Link to [[doc:Sandbox.B]]
      
      [[attach:Sandbox.B.WebHome@image.png]]
      
      [[image:Sandbox.B.WebHome@image.png]]
      

      However the references in the French version are not updated: they remain identical to what they were before the rename, the page has no history entry "Updated the relative links.".

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: