Bug 160404 - FILEOPEN XLSX Pivot table is not imported if sheet protection has Pivot table editing enabled
Summary: FILEOPEN XLSX Pivot table is not imported if sheet protection has Pivot table...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Pivot-Table-XLSX 160536
  Show dependency treegraph
 
Reported: 2024-03-28 07:05 UTC by Gabor Kelemen (allotropia)
Modified: 2024-04-12 14:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel 2016 with sheet protection and editable pivot table (11.94 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-03-28 07:05 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the example file in Excel 2016 with the sheet protection settings visible and Calc (139.26 KB, image/png)
2024-03-28 07:06 UTC, Gabor Kelemen (allotropia)
Details
The same example file withouth the pivot table editing setting enabled in sheet protection (11.94 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-03-28 07:07 UTC, Gabor Kelemen (allotropia)
Details
The second example in Excel and Calc (127.98 KB, image/png)
2024-03-28 07:09 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-03-28 07:05:17 UTC
Created attachment 193361 [details]
Example file from Excel 2016 with sheet protection and editable pivot table

Attached example file contains a simple pivot table, and the sheet protection is enabled, with the option allowing pivot table & chart editing.
When this file is opened in Calc, the pivot table is not imported at all, only the cell values.
If the sheet protection option allowing pivot table editing is turned off, then the pivot table is imported.

1. Open attached file
-> there is no pivot table in F3:J11

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0020fc1167b3760d0631001689a44427b72b816e
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

and ever since 3.3
Comment 1 Gabor Kelemen (allotropia) 2024-03-28 07:06:33 UTC
Created attachment 193362 [details]
Screenshot of the example file in Excel 2016 with the sheet protection settings visible and Calc
Comment 2 Gabor Kelemen (allotropia) 2024-03-28 07:07:31 UTC
Created attachment 193363 [details]
The same example file withouth the pivot table editing setting enabled in sheet protection
Comment 3 Gabor Kelemen (allotropia) 2024-03-28 07:09:41 UTC
Created attachment 193364 [details]
The second example in Excel and Calc

Without the protection setting enabled the pivot table is imported.
Comment 4 Stéphane Guillou (stragu) 2024-04-12 14:24:44 UTC
Reproduced:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d5dcc9de8ebce5d14be89ddeb6606ef0aeebf7a9
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded