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

Unnecessary Warnings Thrown During Space Import that Contains Highlighted Linked Text

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps To Reproduce

      1. Create a new Confluence space (i.e. Example).
      2. Create a new page (i.e. Sample Page).
      3. Insert some contents, highlight some texts and link it to a Confluence page via '+' sign > Link.
      4. Export the Confluence space (i.e. Example) to XML format.
      5. Import the XML backup to a Confluence instance and check the atlassian-confluence.log file.

      Please refer to StepsToReproduce.mp4 screen cast for visual information. You may use Example-Space.zip to reproduce the problem.

      Expected Behaviour

      Space import complete without errors.

      Actual Behaviour

      Space import complete with the following warnings thrown in the atlassian-confluence.log file.

      2015-09-01 17:18:37,653 WARN [Long running task: Importing data] [importexport.xmlimport.persister.XHtmlBodyContentPropertyUserRewriter] translateBodyContentXhtmlProperty Unable to parse text of BodyContent 2359299 as XHTML storage format: The XML content could not be parsed. There is a problem at line 1, column 475. Parser message: Unexpected EOF in CDATA section
       at [row,col {unknown-source}]: [1,475]
       -- referer: http://localhost:9581/confluence/admin/backup.action | url: /confluence/admin/restore.action | userName: admin | action: restore
      2015-09-01 17:18:37,654 WARN [Long running task: Importing data] [importexport.xmlimport.persister.XHtmlBodyContentPropertyUserRewriter] translateBodyContentXhtmlProperty Unable to parse text of BodyContent 2359300 as XHTML storage format: The XML content could not be parsed. There is a problem at line 1, column 497. Parser message: Unexpected EOF in CDATA section
       at [row,col {unknown-source}]: [1,497]
       -- referer: http://localhost:9581/confluence/admin/backup.action | url: /confluence/admin/restore.action | userName: admin | action: restore
      

      Note that the Confluence space import completes with the links working perfectly fine.

      Attachments

        1. Example-Space.zip
          3 kB
        2. StepsToReproduce.mp4
          1.04 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kyong Kok Yan Yong (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 21h
                  21h
                  Remaining:
                  Remaining Estimate - 21h
                  21h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified