[Libreoffice-bugs] [Bug 132095] New: Splitted HSQLDB 2.3.2: Decimal-fields are formatted as currency when table or view used in Calc
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 14 09:44:00 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132095
Bug ID: 132095
Summary: Splitted HSQLDB 2.3.2: Decimal-fields are formatted as
currency when table or view used in Calc
Product: LibreOffice
Version: 6.0.7.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: j.tdhgfg.k at nurfuerspam.de
Description:
I have a split HSQLDB version 2.3.2, with embedded or split HSQLDB version 1.8
there was no bug.
When a table or view is used in Calc, a decimal field (length 4, decimal places
2, format example 0,00) is formatted as currency. Even if manually formatted as
0,00 in Calc, after Data →Refresh Range, the currency symbol is there again.
This is very annoying, because I use the column to store weights.
This behavior occurs not in Writer.
I'll attach an example database and Writer and Calc documents.
The bug still exists in 6.4.2.2, I already experienced it in 6.0.7. I don't
know, what the earliest affected version is.
Steps to Reproduce:
1. Create a split database with HSQLDB 2.3.2. Create a table with a column with
field type Decimal, lenght 4, decimal places 2. The format example shows 0,00
€ then, so change it to 0,00.
2. Fill in some values.
3. Register the database and import the table in Calc via View -> Data Sources
-> Select the database -> select the table -> Data to Text
Actual Results:
The table is imported but the format of the decimal column is a currency
format. (With my German Locale it's #.##0,00 [$€-407];[ROT]-#.##0,00 [$€-407] )
Even if I manually format the column as 0,00 in Calc, after Data →Refresh Range
is clicked, the currency symbol is there again.
Expected Results:
The data is correctly imported with it's format (as 0,00).
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.4.2.2
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: de-DE (de_DE.utf-8); UI-Language: en-US
Calc: threaded
--
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/20200414/46d8fbcb/attachment.htm>
More information about the Libreoffice-bugs
mailing list