Bug 91038 - Importing xls with cell format on money, after changing page layout and saving, formating is changed do decimal values
Summary: Importing xls with cell format on money, after changing page layout and savin...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: x86 (IA32) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls
Depends on:
Blocks: Number-Format XLS
  Show dependency treegraph
 
Reported: 2015-05-03 08:34 UTC by Andre Santos
Modified: 2023-03-25 03:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original File (5.50 KB, application/vnd.ms-excel)
2015-05-04 08:27 UTC, Andre Santos
Details
The same file after changes made on calc (6.50 KB, application/vnd.ms-excel)
2015-05-04 08:29 UTC, Andre Santos
Details
test file xlsx (10.60 KB, application/vnd.openxmlformats-officedocument.spreadsheetml)
2015-05-07 05:38 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Santos 2015-05-03 08:34:16 UTC
openining an excel file (2007/xls), only changing the page format to landscape, after saving it (never touching any cells), if the file is openned in excel, the cell's with "money" format, are totally wrong!

Ex: a value of  37,01$ will change to 0,037

If we set the "money" format again (in calc), then it saves the file correctly.

This works fine in version 4.2

Tested on version 4.4.2 and 4.4.3.1 with the same problem.

Tested on windows Vista, 2003 server and 8.
Comment 1 raal 2015-05-03 19:11:41 UTC
Hello Andre,

Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Andre Santos 2015-05-04 08:27:11 UTC
Created attachment 115299 [details]
Original File

This is the "no changes file", right from excel.
The cell that will have the problem is H2
Comment 3 Andre Santos 2015-05-04 08:29:35 UTC
Created attachment 115300 [details]
The same file after changes made on calc

the only change is the page from portrait to landscape
Comment 4 Andre Santos 2015-05-04 08:30:31 UTC
Files attached!
Comment 5 raal 2015-05-07 05:38:41 UTC
Created attachment 115399 [details]
test file xlsx

Format of cell is: # ##0,00\ "€";-# ##0,00\ "€"

I can confirm with LO 4.4.2, win7

After save is format of cell changed.
Comment 6 Andre Santos 2015-07-01 08:50:14 UTC
Tested on version 5.0, still with the same problem.
Comment 7 QA Administrators 2016-09-20 10:14:14 UTC Comment hidden (obsolete)
Comment 8 Laurent Balland 2019-03-24 19:44:52 UTC
I can reproduce only if thousand separator is space (fr-FR) and not with other thousand separator (en-US)
Comment 9 QA Administrators 2021-03-24 05:55:37 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2023-03-25 03:24:11 UTC
Dear Andre Santos,

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 with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

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) from https://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: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug