[Bug 57423] shiftRows() produces a corrupted xlsx file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 57423] shiftRows() produces a corrupted xlsx file

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57423

David Gauntt <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #16 from David Gauntt <[hidden email]> ---
As of 6 Aug 2019, running the test case that I just posted (attachment 36711)
causes 2 failures; these are when rows are shifted up with a gap between the
shift and the destination, and when rows are shifted down with a gap.

The immediate cause is a bug in XSSFSheet.rebuildRows.  This sorts the _rows
map in XSSFSheet, but does not sort the row list in the CTWorksheet
(getCTWorksheet().getSheetData().getRowList())

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