Warnings thrown in logs when exporting page containing Tasklist to Word document

XMLWordPrintable

      When exporting a page that contains a Tasklist into a Word document, the following warnings will show in logs (2 for every task):

      2014-05-15 13:34:53,125 WARN [http-5543-6] [atlassian.confluence.servlet.ExportWordPageServer] extractImagesFromPage Skipping datasource creation for non-relative url: http://localhost:5543null
       -- url: /exportword | userName: admin | referer: http://localhost:5543/display/TEST/testpage
      2014-05-15 13:34:53,125 WARN [http-5543-6] [atlassian.confluence.servlet.ExportWordPageServer] extractImagesFromPage Skipping datasource creation for non-relative url: http://localhost:5543null
       -- url: /exportword | userName: admin | referer: http://localhost:5543/display/TEST/testpage
      

      The export process seems to be referencing null images, perhaps the checkbox and expand/collapse button. These invalid images can also be found when examining the storage format of the resulting Word document in a text editor:

      ...
      <tr>
      	<td width="5%">
      		<a href="http://localhost:5543/display/TEST/testpage" border="0"><img border="0" src="http://localhost:5543null"></a>
      	</td>
      	<td width="5%">
      		<img border="0" src="http://localhost:5543null">
      	</td>
      	<td colspan="2" width="85%">
      		<font><b>TESTING123</b></font>
      	</td>
      	<td width="5%" align="right"></td>
      </tr>
      ...
      

      Because this does not impede the Export-to-Word functionality in Confluence, and the file is generated as expected, I've raised this bug as Trivial. Ideally we'd suppress or address these WARN messages in the future to clean up the logs.

            Assignee:
            Unassigned
            Reporter:
            Robert Chang (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: