Bug 66212 - XSSFSheet.removeTable does not remove the links to the table part reference from the sheet
Summary: XSSFSheet.removeTable does not remove the links to the table part reference f...
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 5.2.2-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-13 14:08 UTC by Axel Richter
Modified: 2022-08-15 09:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Richter 2022-08-13 14:08:28 UTC
XSSFSheet.removeTable does not remove the links to the table part reference from the sheet

Links in sheet XML are:

<tableParts count="1">
 <tablePart r:id="rId1"/>
</tableParts>

The tablePart gets not removed by XSSFSheet.removeTable.

See https://stackoverflow.com/questions/73339524/xssfworkbook-clonesheet-corrupts-workbook-if-sheet-contains-a-table.
Comment 1 PJ Fanning 2022-08-13 16:11:21 UTC
I added r1903395