Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.10.8, 6.0.5, 7.4.5, 7.7.4, 7.8, 7.13.2, 8.3.0
-
21
-
Severity 2 - Major
-
7
-
Description
Summary
When creating a new page in Confluence 5.10.8 by choosing "Import from Word", certain content shows up in the page as <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="55da6a31-0442-4c6e-bd02-5f890e7d4883"> <ac:plain-text-body><![CDATA[ and everything in the table shifts over one column to the right. This same document imports fine in 5.8.18.
Environment
Confluence 5.10.8
Steps to Reproduce
- In Confluence 5.10.8,or 6.0.5, create a new test page.
- Edit the page and choose "Import Word Document." Import the Word document Final Import File.docx. (This file was created in Word 2013 in Windows 7 and attached to this ticket)
- Choose Replace for Where to import and Replace for Title conflicts. Choose Level 1 headings for Split by heading and choose Import.
- Go to the second page created, ESA.0002, and the second table. The second row has <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="55da6a31-0442-4c6e-bd02-5f890e7d4883"> <ac:plain-text-body><![CDATA[.
Expected Results
I expect the Word document to create the pages with the proper tables and data in each cell.
Actual Results
Certain content shows up in cells as <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="55da6a31-0442-4c6e-bd02-5f890e7d4883"> <ac:plain-text-body><![CDATA[ and everything in the table shifts over one column to the right.
The logs show:
{code:borderStyle=solid}2017-03-07 16:04:40,070 INFO [http-nio-8080-exec-9] [render.xhtml.migration.ErrorReportingV2Renderer] render Unable to render content on page null:null
Wrapping content in unmigrated wiki markup macro due to system error: String index out of range: -1{code}
Notes
- Copied/pasted the document into a new Word 2011 for Mac document - same issue.
- Copied pasted the content of the table affected into a new table - issue did not happen.
- Removed content in cell before and after the error - same issue.
- Removed all headers in the table - same issue.
- Removed all special characters (colons, semi-colons, #) - same issue.
- Chose Edit after the import completed, there are no macros on the page except an anchor macro, removed the anchor macro - same issue.
- Tried running the wikiToXhtmlMigrationUpgradeTask, went back to the page and still see the same error.
Workaround
There is no workaround. When the issue occurs if you edit the page and delete the error in the cell, the remaining cells that shifted one to the right do not move back and that is why the bug is marked as major. Please see see if you need access to the Word document to reproduce the issue.
Attachments
Issue Links
- is related to
-
CONFSERVER-53030 Word importer does not escape wiki-markup-like characters within tables
- Gathering Impact
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...