Summary: | Moving the active sheet and deleting the others results in a corrupted file | ||
---|---|---|---|
Product: | POI | Reporter: | Philippe Lhoste <PhiLho> |
Component: | XSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.11-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
The file used in my tests
Show bugs Proposed fix which adjusts the active sheet in setSheetOrder() and removeSheet() |
Description
Philippe Lhoste
2014-10-31 11:25:17 UTC
Created attachment 32175 [details]
Show bugs
Added a standalone class that loads the sample Excel file and reproduce the bugs (three bugs are shown, I numbered them with the Bugzilla id). You might need to adjust the path to the sample. Created attachment 32199 [details] Proposed fix which adjusts the active sheet in setSheetOrder() and removeSheet() FYI, I have a proposed fix for this and bug 57163, but would like to postpone checkin until after release 3.11 as it runs a slight risk of breaking stuff. |