poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56468] Writing a workbook more than once corrupts the file
Date Wed, 30 Apr 2014 22:47:55 GMT
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


Mime
View raw message