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

--- Comment #13 from David Gauntt <[email protected]> ---
I just looked at the patch to createTable that PJ posted.  It does not check to
see if the table's display name conflicts with an existing name.

I just tried the following in Excel 2010:

1) Create a new workbook
2) Create a defined name in the workbook "Table1"
3) Add a table to Sheet1

The table created in step (3) has the name "Table2" in order to avoid
conflicting with the previously defined name "Table1".  I haven't checked the
patch, but I would bet that following the above procedure using POI would
result in a corrupted workbook because there is named range called "Table1" and
a table called "Table1".

I realize that this would be a rare occurrance (who names a non-table range
"Table1"?) if if we can foresee it and the prevention is simple, I would
recommend the prevention.

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

Reply via email to