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 2011/06/15 03:16:19 UTC

DO NOT REPLY [Bug 51374] New: [PATCH] fix lastPrinted OOXML core property corruption

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

             Bug #: 51374
           Summary: [PATCH] fix lastPrinted OOXML core property corruption
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: gking@iongrid.com
    Classification: Unclassified


Created attachment 27157
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27157
git format-patch @ svn-id 1135656

POI is returning the created property rather than the lastPrinted property in
getLastPrintedPropertyString.

When saving documents which have a null created property and a valid
lastPrinted property, this resulting docProps/core.xml file has an empty
lastPrinted node:

<lastPrinted></lastPrinted>

which PowerPoint 2011 for OSX detects as a corrupt file (I have not tested
other formats or other Office versions).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51374] [PATCH] fix lastPrinted OOXML core property corruption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51374

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|                            |All

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2011-06-15 11:16:43 UTC ---
Applied in r1135997

Thanks,
Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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