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

            Bug ID: 59920
           Summary: Unexpected change in behaviour for
                    XSSFWorkbook.setWorkbookPassword
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

At some point between 3.14 and current trunk, the behaviour of the following
code changed:

XSSFWorkbook.setWorkbookPassword("");

Previously this would result in no password on the workbook, but protection
enabled. Now, a password is set which renders the workbook impossible to
un-protect (Excel doesn't accept the empty string as a password).

Passing null disables protection entirely; we want an option which protects the
workbook but not with a password.

Fix to follow shortly.

-- 
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