You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/05/01 00:47:55 UTC

[Bug 56468] Writing a workbook more than once corrupts the file

https://issues.apache.org/bugzilla/show_bug.cgi?id=56468

ralph_g@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralph_g@gmx.de

--- Comment #2 from ralph_g@gmx.de ---
Created attachment 31576
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31576&action=edit
This patch clears the data of the PackagePart for docProps/app.xml before
saving it.

I added a little patch which fixes the duplicate content in the
"docProps/app.xml" file. The "docProps/core.xml" file is still missing but at
least LibreOffice can read the xlsx files now.

This patch clears the data of the PackagePart for docProps/app.xml before
saving it. I am new to POI so I don't know if this patch has unintended
effects, but the test for POIXMLProperties has no failures.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org