-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Packages with pivot tables can't be reopened and saved 4.5.1 - 4.5.3.2 #508
Comments
This just bit me also. We don't even use EPPlus to control any of the pivot tables, we merely open a template workbook and use EPPlus to write the raw data into it. Thanks for the tip about downgrading to 4.5.0.3-rc (N.B. one will need to check the |
I tried to reproduce this issue with a minimal document with a basic pivot table but that actually worked OK. |
The unit test I provided is fairly simple. Is there something you can find in the api that triggers this problem? |
I'm experiencing this problem also with EPPlus version 4.0.5.0 All I do is read the file into FileInfo, create a package, and save. Removed Part: /xl/pivotTables/pivotTable1.xml part. (PivotTable view) |
When adding, saving, reopening, and then saving packages with pivot tables Excel 2016 complains that there was unreadable content for the pivot table definitions.
The code itself does not throw any errors. Only when opening the file does the problem occur.
I created a test based on Sample12 highlighting the problem. Here is the output excel.zip
The file opens successfully and pivot tables are generated correctly in versions <=4.5.0.3rc but fail in versions >=4.5.1
The text was updated successfully, but these errors were encountered: