Bug 88930 - QUERY column type thought to be TEXT when coming from subquery
Summary: QUERY column type thought to be TEXT when coming from subquery
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 90560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-30 09:43 UTC by Lionel Elie Mamane
Modified: 2023-07-22 03:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot from LibreOffice 5.1.2 (53.80 KB, image/png)
2016-04-16 13:28 UTC, Ulf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Elie Mamane 2015-01-30 09:43:57 UTC
Query1: SELECT date_column FROM (SELECT date_column FROM foo) "foo";

Query2: SELECT date_column FROM Query3

Query3: SELECT date_column FROM foo


Query 2 and Query 3 display date_column as date, but Query 1 displays it as text.
Comment 1 Lionel Elie Mamane 2015-01-30 09:49:25 UTC
The form wizard (based on Query1) inserts a text box, but that text box displays a valid date in ISO format...

Whereas the Query1 view displays it as an integer (number of days since 30/12/1899 or something like that).
Comment 2 Ulf 2015-04-14 08:12:37 UTC
*** Bug 90560 has been marked as a duplicate of this bug. ***
Comment 3 tommy27 2016-04-16 07:23:43 UTC Comment hidden (obsolete)
Comment 4 Ulf 2016-04-16 13:28:52 UTC
Created attachment 124394 [details]
Screenshot from LibreOffice 5.1.2

The same behavior also in LibreOffice 5.1.2.
I could not try in LibO 3.3. because get no java running.

There is also an example Database in the duplicated bug.
Comment 5 QA Administrators 2017-05-22 13:23:57 UTC Comment hidden (obsolete)
Comment 6 Ulf 2017-05-24 07:17:57 UTC
The same behavior also in LibreOffice 5.3.3.2(64) on Windows
Comment 7 Xisco Faulí 2017-07-13 12:20:55 UTC
Setting Assignee back to default. Please assign it back to yourself if you're
still working on this issue
Comment 8 QA Administrators 2018-07-14 02:47:45 UTC Comment hidden (obsolete)
Comment 9 Ulf 2018-07-20 20:56:44 UTC
The same behavior also in LibreOffice 6.0.5.2(64) on Windows
Comment 10 Drew Jensen 2018-07-20 23:42:54 UTC
Considered changing the summary by adding HSQL: to the beginning but didn't test all the different drivers.

Did test the firebird engine with 6.1 and 6.2, this problem is not there and the date column is returned as a date in all three scenarios.
Comment 11 QA Administrators 2019-07-21 02:47:19 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2021-07-21 03:37:13 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2023-07-22 03:18:06 UTC
Dear Lionel Elie Mamane,

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