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

Relative references in include and display macros are not updated on page move

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      • Create page "Sandbox.ABC.Test1"
      • Create page "Sandbox.ABC.Test2" with the following content:
         
        {{include reference="Test1"/}}
        
      • Move page "Sandbox.ABC.Test2" to "Sandbox.ABC.Test2.WebHome"

      Expected result

      The content of "Sandbox.ABC.Test2.WebHome" is updated to the following:

      {{include reference="Sandbox.ABC.Test1"/}}
      

      Actual result

      The included reference in "Sandbox.ABC.Test2.WebHome" remains relative, hence the initial page is not included anymore:

      {{include reference="Test1"/}}
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              slauriere slauriere
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: