Bug 122468

Summary: FILEOPEN XLSX, Pivot table gets an extra empty column in LO.
Product: LibreOffice Reporter: NISZ LibreOffice Team <libreoffice>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: major CC: aron.budea, ilmari.lauhakangas, kelemeng, nemeth, xiscofauli
Priority: medium Keywords: dataLoss, filter:xlsx
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112416    
Attachments: A spreadsheet with a pivot table.
Screenshot of the original document side by side in Excel and Calc.

Description NISZ LibreOffice Team 2019-01-04 10:17:44 UTC
Description:
When a pivot table with one line label gets opened in LO it gets an extra empty column which can overlap other parts of the spreadsheet.

Steps to Reproduce:
    1. Create a new xlsx with some data.
    2. Create a pivot table from some data with one line label.
    3. Save it as xlsx.
    4. Open it in LO.

Actual Results:
The pivot table has an extra empty column

Expected Results:
It should have the same amount of columns.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2019-01-04 10:18:08 UTC
Created attachment 148004 [details]
A spreadsheet with a pivot table.
Comment 2 NISZ LibreOffice Team 2019-01-04 10:18:27 UTC
Created attachment 148005 [details]
Screenshot of the original document side by side in Excel and Calc.
Comment 3 Durgapriyanka 2019-01-04 18:56:53 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Xisco FaulĂ­ 2019-01-16 18:01:29 UTC
Also reproduced in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 Buovjaga 2019-01-26 15:37:36 UTC
Confirmed.

Win 10
3.3.0
Comment 6 Gabor Kelemen (allotropia) 2019-03-28 09:38:19 UTC
Also: if there is some cell content in the cells right of the pivot table, the new column overwrites all of it, effectively causing data loss.

I'm bumping the severity because of this.
Comment 7 QA Administrators 2021-03-28 03:36:06 UTC Comment hidden (obsolete)
Comment 8 Gabor Kelemen (allotropia) 2021-03-30 10:14:09 UTC
Still a problem in:

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 5262a9e88037decc26da84e7fa62f2955d4cdb85
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 9 QA Administrators 2023-03-31 03:29:20 UTC Comment hidden (obsolete)
Comment 10 Michaela 2023-08-29 10:40:53 UTC
Still repro with:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e46e663cc350d89e4997095466d675b875eb2e04
CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win