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: gk...@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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to