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 | Reporter: | Richard Léger <richard.leger> |
Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aron.budea, kelemeng, miguelangelrv, richard.leger, suokunlong |
Priority: | medium | ||
Version: | 5.2.7.2 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=112571 https://bugs.documentfoundation.org/show_bug.cgi?id=90484 |
||
Whiteboard: | target:6.1.0 target:6.0.0.1 target:5.4.4 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103512, 109178, 127300 | ||
Attachments: | Sample file showing range created after two consecutive save following activation of AutoFilter |
Description
Richard Léger
2017-07-20 20:06:00 UTC
FYI, if you delete all defined Names... (named ranges) and save, they are recreated automatically at next opening of the file, one by one... duplicate of each others... after consecutive save/opening... Reproducible. Version: 6.0.0.0.alpha0+ Build ID: 403ddd6cb1c0d6a0e0db105e68f58fe40057cb42 CPU threads: 4; OS: Windows 6.19; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-07-14_23:37:46 Locale: es-ES (es_ES); Calc: group It is the filter range that is recreated even if it exist. FYI it seems Excel also prefix such named range names with '_xlnm.' (without quotes)... while LO does not use that prefix when saving in .xlsx format. Dupicate named range names seems recreated(or loaded) when file is opened... clicking Save button does not recreate the range (at least not apearing in LO interface) until the file is closed/reopened. Hope that help. I can reproduce the multiplication of named ranges, but not the corruption. Can you or anyone share a simple file that was created with these steps in Calc (or similar steps involving autofilter), and Excel complains about it? Set platform to ALL.Xlsx files produced this way have the same problem when open with MSO in Win. I have encountered this issue many times. (In reply to Aron Budea from comment #4) > I can reproduce the multiplication of named ranges, but not the corruption. > Can you or anyone share a simple file that was created with these steps in > Calc (or similar steps involving autofilter), and Excel complains about it? Strangely I don't seem to be able to reproduce the corruption... but I no longer have access to original machines where it appeared at the time. The duplicate range still appears. Though I may have another production file that crash Excel and that LO complain about range when opening. I may provide it in a private msg if that is possible for testing purpouse as I don't want to publish it on a public forum. Would that do? Aron Budea committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f8b9d0fb0767d8bbe8477f92abaf6b8e0ff65546 tdf#109240, tdf#112571: don't export dupe built-in named ranges It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. If you don't mind sending it to me, I can take a quick look at it (can't guarantee anything). What would definitely be helpful is reproduction steps on how to get to a bad file. In the meantime, the posted fix will prevent creation of duplicate built-in named ranges and remove existing ones upon save. Closing as fixed, backports are in gerrit. If you manage to reproduce the name conflict with this patch included, please open a new bug report, and add it to the See Also field and/or CC me. Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1f5d7c8b986d4839788e3e2f4ac24ab2df25af9c&h=libreoffice-6-0 tdf#109240, tdf#112571: don't export dupe built-in named ranges It will be available in 6.0.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d0f5f2bbd2bc6fee5ad4c4031f69c04e1c8fd3fb&h=libreoffice-5-4 tdf#109240, tdf#112571: don't export dupe built-in named ranges It will be available in 5.4.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-5-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3f50e9ccde342259fd6f24c40599d820f21eba7b&h=libreoffice-5-4-4 tdf#109240, tdf#112571: don't export dupe built-in named ranges It will be available in 5.4.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |