Bug 17222 - [PATCH] Workbook corruption
Summary: [PATCH] Workbook corruption
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: Other other
: P3 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 21:40 UTC by Jason Height
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Corruption patch. Apply ASAP (517 bytes, patch)
2003-02-19 21:44 UTC, Jason Height
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Height 2003-02-19 21:40:08 UTC
Hi all.

With current CVS (and all versions prior to now)...

When a call HSSFSheet.createRow() occurs and the row exists the workbook can be 
corrupted. Basically the Sheet.insertRow does not remove the cells attached to 
the existing row. 

I say CAN corrupt because sometimes excel seems to silently fix the problem, in 
other cases it goes berzerk!

Jason
Comment 1 Jason Height 2003-02-19 21:42:51 UTC
Sorry I meant Sheet.addRow
Comment 2 Jason Height 2003-02-19 21:44:12 UTC
Created attachment 4928 [details]
Corruption patch. Apply ASAP
Comment 3 Avik Sengupta 2003-02-21 16:02:44 UTC
Applied. Would prefer unified diffs in the future (-u). 

Please cross check.