Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Tim DeMossTim DeMossPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Tim DeMoss
Tim DeMossPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 12 September 2023 at 18:35
Updated 15 September 2023 at 12:54
Resolved 14 September 2023 at 07:02
When joining queries in a QofQ, columns of type
decimal
are rounded to the nearest integer. This occurs both when the joined query is from a database table with a precision defined for the column (e.g.decimal(12,2)
) and when the joined query is created byqueryNew
, where it is not possible to define decimal precision. As such my repro usesqueryNew
to keep things simple.Note that using a
double
type for the column does NOT trigger this bug. Also note that in Lucee 5.3.12.1 the same code produces the correct result (precision is maintained for the column value).Here’s the repro: