Summary: | Workbook.setSheetOrder does not fixup record list | ||
---|---|---|---|
Product: | POI | Reporter: | Richard Evans <richard.evans> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | recyclebin5385 |
Priority: | P2 | ||
Version: | 3.6-FINAL | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Simple test case with input files to demonstrate the issue.
patch for version 3.8 Minimal test case Patch |
Description
Richard Evans
2010-10-13 08:02:55 UTC
Still present (3.8b4) +1 same happens with 3.8beta4 Created attachment 27231 [details]
Simple test case with input files to demonstrate the issue.
Attaching my test case to reproduce the issue. To enable the code that creates the error, pass any argument to the class when you run it. If you do not, the class will run fine (i.e., no exception).
(In reply to comment #3) This test case was exercised against POI 3.8 Beta 3 - not aware of a POI 3.8 Beta 4 version at this time. *** Bug 53147 has been marked as a duplicate of this bug. *** Created attachment 28685 [details]
patch for version 3.8
Still present in version 3.8 final (and probably the trunk of the repository).
I wrote a patch to fix this problem.
Created attachment 29024 [details]
Minimal test case
Minimal reproduction of the same exception as the previous test case (27231),
with an attempt to explain the cause of it.
Created attachment 29034 [details]
Patch
Fixes order of 'records' list in InternalWorkbook.setSheetOrder + test case.
|