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/04/22 04:41:36 UTC

[Bug 63372] New: XSSFSheet.createTable corrupts workbook unless setDisplayName is called

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: dev@poi.apache.org
          Reporter: dmgauntt@uab.edu
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 63372] XSSFSheet.createTable corrupts workbook unless setDisplayName is called

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

David Gauntt <dm...@uab.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from David Gauntt <dm...@uab.edu> ---


*** This bug has been marked as a duplicate of bug 62906 ***

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