Bug 132649 - REPORTBUILDER: Impossible to show decimal-places of a time-field (Firebird)
Summary: REPORTBUILDER: Impossible to show decimal-places of a time-field (Firebird)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.4.1 rc
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 17:35 UTC by Robert Großkopf
Modified: 2024-05-04 06:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Open the database and have a look at the decimal-places of time in report (15.97 KB, application/vnd.oasis.opendocument.database)
2020-05-03 17:35 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2020-05-03 17:35:19 UTC
Created attachment 160287 [details]
Open the database and have a look at the decimal-places of time in report

Open the attached database.
It contains one table with a field for a time and a flied for a timestamp.
Both fields were filled with a value with 3 decimal places. It could be seen in the table.
Open the form and see the content of the formatted fields at the top of the form. Showing decimal places of a time or a timestamp only works with a formatted field. The decimal places are shown.
Close the form and execute the report. The decimal places of the timestamp are shown, the decimal places of the time where lost.

Could be this never worked and has never been detected before, because the internal HSQLDB doesn't create TIME-fields with decimal places. It will only show decimal places with TIMESTAMP-fields and a special TIMESTAMP(6)-command.

Why doesn't the Report Builder show the same content as a formatted field in the form?

This buggy behavior appears under LO 6.4.4.1 on OpenSUSE 15.1 64bit rpm Linux.
Comment 1 Robert Großkopf 2020-05-03 17:44:59 UTC
You could solve this problem for Firebird by starting the report with a query:
SELECT "table_time".*, CAST( "table_time"."Time" AS TIMESTAMP ) "TTime" FROM "table_time"

If I change the type of the field to a timestamp in a query it will work ...
Comment 2 Julien Nabet 2020-05-03 18:01:19 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I also noticed that in form or in report, when I open Format dialog, this format is never shown.
Comment 3 QA Administrators 2022-05-04 03:50:21 UTC Comment hidden (obsolete)
Comment 4 Alex Thurgood 2022-05-04 10:15:34 UTC
Bug still present in 

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 5 Alex Thurgood 2022-05-04 10:17:35 UTC
Bug also present in 

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 69f412459257398a7d779541dad95aa7227a5e74
CPU threads: 8; OS: Mac OS X 12.2.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 6 QA Administrators 2024-05-04 03:17:07 UTC Comment hidden (obsolete)
Comment 7 Robert Großkopf 2024-05-04 06:19:09 UTC
Bug still exists on
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded