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

            Bug ID: 63372
           Summary: XSSFSheet.createTable corrupts workbook unless
                    setDisplayName is called
           Product: POI
           Version: 4.0.x-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 36542
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36542&action=edit
Unit test illustrating problem with createTable

If you add an XSSFTable to an XSSFSheet, and do not call
getCTTable.setDisplayName, then when the workbook is opened by Excel 365 the
following error message is displayed:

We found a problem with some content in '<filename>'.  Do you want us to try to
recover as much as we can? ...

After clicking on Yes, the following information is displayed:

Removed Part: /xl/tables/table1.xml part with XML error.  (Table) Load error.
Line 2, column 92.

In the attached unit test, if "runTestKern(false)" is called, the resulting
workbook will display the error message when opened by Excel 365.  IF
"runTestKern(true)" is called, the error message is not displayed.

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