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 2019/05/04 19:10:48 UTC

[Bug 62759] removeColumn corrupts XSSFTable

https://bz.apache.org/bugzilla/show_bug.cgi?id=62759

--- Comment #1 from David Gauntt <dm...@uab.edu> ---
Created attachment 36566
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36566&action=edit
JUnit test case to illustrate bug 62759

This JUnit test class will write 3 Excel workbooks to
build/custom-reports-test. 

Each workbook is created by adding a 4 column, 3 row table starting at cell
$C$3 of the first worksheet.  Then one column is removed from the table.  In
one of the workbooks, it is the first column, in one of the workbooks it is the
last column, and in one it is the penultimate (second to the last) column.

JUnit passes the tests but the workbooks are corrupted.  When the workbooks are
opened in Excel 2010 it repairs the workbooks by deleting the table.

I will post a patch shortly.

-- 
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