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 2008/06/06 00:20:05 UTC

DO NOT REPLY [Bug 45145] New: RowRecordsAggregate must come before ValueRecordsAggregate

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

           Summary: RowRecordsAggregate must come before
                    ValueRecordsAggregate
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: josh@gildedtree.com


The following code:
wb.createSheet("SheetX").createRow(0).createCell((short)0);
causes the new Sheet object to have the ValueRecordsAggregate listed before the
RowRecordsAggregate.

This causes a bug in Sheet.serializeIndexRecord() where 'sheetRecSize'
incorrectly includes the VRA size, thus causing the INDEX record to have wrong
offsets to the DBCELL records.  When a workbookis read from file, the RRA is
created before the VRA, so the bug does not occur in that case. Re-serializing
a workbook fixes the incorrect INDEX record.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45145] RowRecordsAggregate must come before ValueRecordsAggregate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45145


Josh Micich <jo...@gildedtree.com> changed:

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




--- Comment #1 from Josh Micich <jo...@gildedtree.com>  2008-06-05 15:42:27 PST ---
Fixed in svn r663765.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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