<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Pivot table: saving this ODS as XLSX produces a file that makes Excel warn and delete pivot table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124651">124651</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Pivot table: saving this ODS as XLSX produces a file that makes Excel warn and delete pivot table
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=150658" name="attach_150658" title="A simplest pivot table ever">attachment 150658</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=150658&action=edit" title="A simplest pivot table ever">[details]</a></span>
A simplest pivot table ever
Saving this ODS as XLSX produces a file that makes Excel 2016 warn:
<span class="quote">> We found a problem with some content in "0group.xlsx". Do you want us to recover as much as we can? If you trust the source of this workbook, click Yes.</span >
and then delete pivot table:
<span class="quote">> Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)</span >
Adding "name" attribute equal to empty string to
/pivotTableDefinition/dataFields/dataField in xl/pivotTables/pivotTable1.xml
makes Excel consume the file normally.
Looks like a bug in Excel, since ECMA-376 Part 1 defines CT_DataField's "name"
attribute to be optional.
Tested with Version: 6.2.3.1 (x64)
Build ID: 9ba025bafb03b962c34687cf87806cc03a3a7436
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>