[Libreoffice-bugs] [Bug 109240] New: FILESAVE XLSX: Use of Data > AutoFilter provoke auto-creation of multiple defined Name ranges over multiple consecutive save in XLSX format of the same file causing compatibility issue with Excel 2016 (file cannot be opened in Excel 2016)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 20 20:06:00 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=109240

            Bug ID: 109240
           Summary: FILESAVE XLSX: Use of Data > AutoFilter provoke
                    auto-creation of multiple defined Name ranges over
                    multiple consecutive save in XLSX format of the same
                    file causing compatibility issue with Excel 2016 (file
                    cannot be opened in Excel 2016)
           Product: LibreOffice
           Version: 5.2.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: richard.leger at gmail.com

Created attachment 134752
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134752&action=edit
Sample file showing range created after two consecutive save following
activation of AutoFilter

Hi,

Here is the scenario leading to bug...

01. Open new workbook and create a simple table with header columns
02. Rename the sheet: e.g 'Product Sheet'
03. Save file as in XLSX format 
04. Close file
05. Re-open file
06. Above sheet, in cell name selection box (on the top left), select 'Manage
Names...' ==> no named ranges defined
07. Activate Data > AutoFilter
08. Above sheet, in cell name selection box (on the top left), select 'Manage
Names...' ==> no named ranges defined
09. Save file (keep XSLX format if prompted)
10. Close file
11. Re-open file
12. Above sheet, in cell name selection box (on the top left), select 'Manage
Names...' ==> a new named range now appear as defined in the list. 1 in total
listed.
09. Save file (keep XSLX format if prompted)
10. Close file
11. Re-open file
12. Above sheet, in cell name selection box (on the top left), select 'Manage
Names...' ==> another new named range (same as above but suffixed with _0) now
appear as defined. 2 in total listed.
13. If you keep repeating 09,10,11 new range keep being defined and added...
14. Close file
15. Open file in Excel 2016, it will chock on the file saying it is corrupted!
With inability to repair it... most likely because various named range refer to
the same range...

This seems to be a major compatibility issue...

May be related to bug 109144 (FILESAVE XLSX: Resaving file with autofilter on
conditional formatting results in invalid XLSX) ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170720/abeff026/attachment.html>


More information about the Libreoffice-bugs mailing list