Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-117

Include macro is migrated incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.26.0
    • None
    • None
    • None
    • XWiki 13.4.5 Cloud, Confluence Migrator 1.0.9, Confluence XML 9.16.1, Nested pages migrator 0.7.3
    • Unknown

    Description

      While trying to create an include bridge macro, we noticed that the imported include macros have their document reference before the macro, instead of inside the macro. 

      Confluence storage format: 

      <ac:structured-macro ac:name="include" ac:schema-version="1" data-layout="default" ac:local-id="ea6dc2a5-b3cf-4814-9b32-c1df544f5c12" ac:macro-id="b08110a09d42c6f5b956444b43a90dcd"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="recently-updated" ri:version-at-save="9" /></ac:link></ac:parameter></ac:structured-macro><ac:structured-macro ac:name="include" ac:schema-version="1" data-layout="default" ac:local-id="19e3604c-71d5-4cec-9db3-0585f69fbf50" ac:macro-id="c9e0971c9e6125325ca414a4dba375d7"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="Attachments" ri:version-at-save="3" /></ac:link></ac:parameter></ac:structured-macro><ac:structured-macro ac:name="include" ac:schema-version="1" data-layout="default" ac:local-id="50209bd0-0cda-49c2-b953-fb464fb80096" ac:macro-id="2434bd1cd37303222861cd3c97af1e30"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="note, tip, info, success, warning, error" ri:version-at-save="4" /></ac:link></ac:parameter></ac:structured-macro> 

      XWiki result: 

       

      [[doc:recently-updated]]
      {{include 0=""/}}[[doc:Attachments]]
      {{include 0=""/}}[[doc:note, tip, info, success, warning, error]]
      {{include 0=""/}}
      

       

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            snazare Stefana Nazare
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: