https://bz.apache.org/bugzilla/show_bug.cgi?id=58061

            Bug ID: 58061
           Summary: Switch to NPOIFS causes simple XLS created by POI to
                    be corrupt
           Product: POI
           Version: 3.13-dev
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]

.xls files produced by POI on trunk are not valid right now, it seems a recent
change broke HSSF completely.

When running "git bissect", the following is found as culprit:

----
9d4d015a344dbe95918dcb7b2daa5af2f0677da0 is the first bad commit
commit 9d4d015a344dbe95918dcb7b2daa5af2f0677da0
Author: nick <nick@13f79535-47bb-0310-9956-ffa450edef68>
Date:   Mon May 11 18:04:30 2015 +0000

    #56791 More updates from OPOIFS to NPOIFS

    git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678783
13f79535-47bb-0310-9956-ffa450edef68

:040000 040000 277fa7aea6ea9ed9bfaa53cf45c4d390437ac1e3
26deba68dd564b5b790679dab7eeb99abbe550bf M      src
'bisect run' erfolgreich ausgeführt
----

I used the following command in the "git bissect" to decide if it still works
or not, i.e. a simple XLS that is produced by POI will not open in LibreOffice
anymore. It's the same for Excel:

----
java -cp build/classes:build/examples-classes
org.apache.poi.hssf.usermodel.examples.CreateCells && \
test -f workbook.xls && \
unoconv -vvv --timeout=10 --doctype=spreadsheet --output=workbook.pdf
workbook.xls
----

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to