Bug 68720 - FORMATTING: The cells in a column from csv-import that contain the currency symbol is not properly formatted as currency
Summary: FORMATTING: The cells in a column from csv-import that contain the currency s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: CSV-Import
  Show dependency treegraph
 
Reported: 2013-08-29 18:03 UTC by Marco Borra
Modified: 2023-12-07 03:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample CSV file to reproduce bug (157 bytes, text/csv)
2013-08-29 18:06 UTC, Marco Borra
Details
bug Screenshot (107.35 KB, image/png)
2013-08-29 18:07 UTC, Marco Borra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Borra 2013-08-29 18:03:50 UTC
Problem description:
The cells in a column that contain the currency symbol is not properly formatted as currency type. 

Steps to reproduce:
1. Have a proper CSV file (view attachment). As example:

///// CSV FILE BEGIN /////
A;B;C;
;€ 10;;
;€ 10;;
;€ 10;;
///// CSV FILE END /////

2. Import CSV file in Calc, then select column: B. Format as: currency.
3. Jump to end of selected range, then insert SUM() function.
4. You get 0 instead of realvalue, because the content of the cells is treated as text.

Current behavior:

Expected behavior:

              
Operating System: All
Version: 4.2.0.0.alpha0+ Master
Comment 1 Marco Borra 2013-08-29 18:06:55 UTC
Created attachment 84875 [details]
Sample CSV file to reproduce bug
Comment 2 Marco Borra 2013-08-29 18:07:45 UTC
Created attachment 84876 [details]
bug Screenshot
Comment 3 m_a_riosv 2013-08-30 14:30:53 UTC
Hi Marco, thanks for reporting.

Reproducible with:
Win7x64Ultimate
Version: 4.1.1.0.0+ Build ID: c1f0f890f5065f88164add33707228f8c6d5755
Version: 4.2.0.0.alpha0+ Build ID: 9a1aca007fd06f3f8223ee02a79e44099d778b51

Detect spacial numbers or change default currency to another eur, don't affect the issue.

In 4.0.5 at least import as number although do not preserve the currency format.

Changed version to 4.1
Changed status to NEW
Comment 4 QA Administrators 2015-04-01 14:42:48 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2015-04-24 17:46:45 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha1+ (x64)
Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
Locale: fi_FI

Ubuntu 15.04 64-bit 
OpenOffice.org 3.3.0
OOO330m20 (Build:9567)
Comment 6 Cor Nouws 2015-11-02 13:09:29 UTC
(In reply to m.a.riosv from comment #3)

> Detect spacial numbers or change default currency to another eur, don't
> affect the issue.
> 
> In 4.0.5 at least import as number although do not preserve the currency
> format.

Indeed with "Detect special numbers" checked, you get normal numbers. In 3.3.4 too, so I guess it's always been like this.

Work around work flow: import with "Detect special numbers" checked, and apply formatting later on.
Comment 7 QA Administrators 2016-11-08 12:00:10 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2019-12-03 14:12:06 UTC Comment hidden (obsolete)
Comment 9 m_a_riosv 2019-12-06 01:00:27 UTC
Still
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 60e8941fd581bb06cbf6be62edb8c387e7c07812
CPU threads: 4; OS: Windows 10.0 Build 19035; UI render: default; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US
Calc: CL
Comment 10 QA Administrators 2021-12-06 04:06:12 UTC Comment hidden (obsolete)
Comment 11 m_a_riosv 2021-12-06 18:06:35 UTC
Still
Version: 7.2.4.1 (x64) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL
Comment 12 QA Administrators 2023-12-07 03:18:04 UTC
Dear Marco Borra,

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