Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-26866

Dynamic task list will not migrate content within unmigrated wiki markup macro

      Running the Unmigrated wiki markup migration Task does not migrate Dynamic Task lists.

      Repro steps:

      1. Create a page with the following source:
        <ac:macro ac:name="unmigrated-inline-wiki-markup">
        <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>
        <ac:plain-text-body><![CDATA[{dynamictasklist:IT Setup}\\
        ||Completed||Priority||Locked||CreatedDate||CompletedDate||Assignee||Name||
        |F|H|F|2007-09-03|          | |Determine if new interface / edit existing required 		(IT)|
        |F|H|F|2007-09-03|          | |Create Jira Item		(IT)|
        |F|H|F|2007-09-03|          | |Source client account references from third party		(IT)|
        |F|H|F|2007-09-03|          | |Commit and release changes to code		(IT)|
        |F|H|F|2007-09-03|          | |Manual test trading		(IT)|
        |F|H|F|2007-09-03|          | |Automate changes / Add to DEPENDS		(IT)|\\
        {dynamictasklist}]]></ac:plain-text-body>
        </ac:macro>
        
      2. Run the Unmigrated wiki markup migration Task.
      3. Check the unchanged content of the page.

      The migration task does not display any error in the logs.

      Workaround:

      1. Shutdown Confluence.
      2. Run the following query in your databse:
        Please note this will modify your database, please make sure you take a backup before applying the changes in case you need to roll back,
        update BODYCONTENT set body = replace(body, '<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter><ac:plain-text-body><![CDATA[{dynamictasklist', '<ac:macro ac:name="tasklist"><ac:plain-text-body><![CDATA[{dynamictasklist')
        where contentid in (select contentid from content where prevver is NULL AND contenttype IN ('PAGE','BLOGSPOT') AND content_status='current');

        This query may need a bit of fine tuning to adapt to the way your content is stored

      3. Start Confluence.

            [CONFSERVER-26866] Dynamic task list will not migrate content within unmigrated wiki markup macro

            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 157616 ]
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 510924 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2900081 ] New: CONFSERVER Bug Workflow v4 [ 2994695 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2794934 ] New: JAC Bug Workflow v3 [ 2900081 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2725221 ] New: JAC Bug Workflow v2 [ 2794934 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388693 ] New: JAC Bug Workflow [ 2725221 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2265576 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388693 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209151 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2265576 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2192630 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209151 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1931397 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2192630 ]

              Unassigned Unassigned
              aconde Alejandro Conde Carrillo (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: