You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/12/02 20:19:21 UTC

[Bug 55640] Get IndexOutOfBoundsException while creating Excel with data grouping

https://issues.apache.org/bugzilla/show_bug.cgi?id=55640

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
I have committed two things in r1547153:
* Fix invalid calculation of start-row when setting rows hidden
* Avoid IndexOutOfBoundsException when nested groups which end on the same row
are all set to collapsed

This at least makes your test run without throwing Exceptions. 

I fear there might be additional cases where the resulting Excel file is not
completely correct with collapsed/hidden state, but I just could not get my
head around the spec far enough to fix it, especially as LibreOffice seems to
behave a bit different to POI and Excel so I am not sure what the best way to
handle things are.

I have at least added unit tests to record the current behavior and to allow us
to see which cases are affected by future fixes. 

Please report separate bugs with description how to create them or sample Excel
files and the expected results so we can continue to work on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org