-
Bug
-
Resolution: Obsolete
-
Medium
-
4.3.1
-
None
Running the Unmigrated wiki markup migration Task does not migrate Dynamic Task lists.
Repro steps:
- 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>
- Run the Unmigrated wiki markup migration Task.
- Check the unchanged content of the page.
The migration task does not display any error in the logs.
Workaround:
- Shutdown Confluence.
- 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
- Start Confluence.