ASF Bugzilla – Attachment 31578 Details for
Bug 56468
[PATCH] Writing a workbook more than once corrupts the file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch clears the data of the PackagePart for docProps/app.xml before saving it
patch.txt (text/plain), 857 bytes, created by
ralph_g
on 2014-05-01 07:31:12 UTC
(
hide
)
Description:
This patch clears the data of the PackagePart for docProps/app.xml before saving it
Filename:
MIME Type:
Creator:
ralph_g
Created:
2014-05-01 07:31:12 UTC
Size:
857 bytes
patch
obsolete
>Index: .project >=================================================================== >--- .project (revision 1591475) >+++ .project (working copy) >@@ -1,6 +1,6 @@ > <?xml version="1.0" encoding="UTF-8"?> > <projectDescription> >- <name>ApachePOI</name> >+ <name>ApachePOI-svn</name> > <comment></comment> > <projects> > </projects> >Index: src/ooxml/java/org/apache/poi/POIXMLProperties.java >=================================================================== >--- src/ooxml/java/org/apache/poi/POIXMLProperties.java (revision 1591475) >+++ src/ooxml/java/org/apache/poi/POIXMLProperties.java (working copy) >@@ -148,6 +148,9 @@ > xmlOptions.setSaveSuggestedPrefixes(map); > > OutputStream out = extPart.getOutputStream(); >+ if (extPart.getSize() > 0) { >+ extPart.clear(); >+ } > ext.props.save(out, xmlOptions); > out.close(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56468
:
31567
|
31576
|
31577
|
31578
|
31579
|
31581
|
31594
|
31599