Bug 52534 - FILESAVE - Excel compatibility: file loads OK, but some formulas are corrupted when document is saved
Summary: FILESAVE - Excel compatibility: file loads OK, but some formulas are corrupte...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.0.2 rc
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 12:37 UTC by bureautiquelibre
Modified: 2015-06-20 12:09 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Excel file sample (609.00 KB, application/vnd.ms-excel)
2012-07-26 12:37 UTC, bureautiquelibre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bureautiquelibre 2012-07-26 12:37:32 UTC
Created attachment 64727 [details]
Excel file sample

See sample file.

Open in LibreOffice, then save document in .xls format, (+ LibreOffice will crash if saved under .ods format)

Close and reload saved file, corrupted data appears on following lines:
47, 59 and 71

Seems to be related to lines with aliases (don't know if it's the right terminology).

(BTW, I don't know how to do that in LibreOffice)
Comment 1 Julien Nabet 2012-08-05 14:24:41 UTC
On pc Debian x86-64 with 3.6 sources updated today, I reproduced partly the problem.

I had the same kind of corrupted data when saving in xls.
However I could save in ods format without corrupted data (!).

I noticed that name could be defined twice:"Global" and "data" (the name of the sheet). Could you take a look into Excel to check ?
(BTW in LO, it's "Insert Menu", "Names", "Manage" for example)

Precision:I said "yes" when LO asks to update the links during launching.
Comment 2 bureautiquelibre 2012-08-06 08:10:03 UTC
Just checked in Excel, it doesn't display duplicates.
I tried to delete a name that was defined twice and had Excel display the duplicate, so yes, they already are present in the original file.

Excel seems to use the names defined in the sheet by default, LibreOffice doesn't seem to.

Attempt to save in ods format caused LibreOffice to crash (i'm now in 3.6.0.4 RC)
Comment 3 Julien Nabet 2012-08-06 08:32:03 UTC
I put 3.6.0.2 rc since "Version" indicates from which first version the bug appeared.
Comment 4 Joel Madero 2015-05-02 15:41:11 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.2 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
Comment 5 Buovjaga 2015-06-20 12:09:27 UTC
No corruption observed after saving as .xls in the mentioned lines.
Doesn't crash when saving to .ods

Does say this when saving to .xls:
The document contains more rows than supported in the selected format.
Additional rows were not saved.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)