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 2022/08/15 16:36:31 UTC

[Bug 66216] New: XSSFPivotTable.getPivotCacheDefinition() does not work properly when XSSFPivotTable was read from an existing *.xlsx file

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

            Bug ID: 66216
           Summary: XSSFPivotTable.getPivotCacheDefinition() does not work
                    properly when XSSFPivotTable was read from an existing
                    *.xlsx file
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: axel.richter.privat@web.de
  Target Milestone: ---

Created attachment 38368
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38368&action=edit
Sample Java code and sample *.xlsx file

Take the code ReadExcelPivotTableSource.java and the ExcelPivotTableSample.xlxs
from my attachment. Run the code.

You will see that pivotTable.getPivotCacheDefinition() always returns `null`
although the POIXMLDocumentPart is present.

-- 
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 66216] XSSFPivotTable.getPivotCacheDefinition() does not work properly when XSSFPivotTable was read from an existing *.xlsx file

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

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Definitely a bug - pivotTable.getCTPivotTableDefinition() does work

I'll look into the issue with pivotTable.getPivotCacheDefinition()

-- 
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 66216] XSSFPivotTable.getPivotCacheDefinition() does not work properly when XSSFPivotTable was read from an existing *.xlsx file

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

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

-- 
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 66216] XSSFPivotTable.getPivotCacheDefinition() does not work properly when XSSFPivotTable was read from an existing *.xlsx file

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

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
I added a fix using r1903442

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