Fixed
Details
Assignee
Zac SpitzerZac SpitzerReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
NewLabels
Fix versions
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
Sprint
None
Details
Details
Assignee
Zac Spitzer
Zac SpitzerReporter
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
Labels
Fix versions
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
Sprint
None
Created 16 January 2025 at 07:16
Updated 24 January 2025 at 14:36
Resolved 24 January 2025 at 14:36
On Lucee 6.1.0.243 we’ve discovered that if we create a query object, then duplicate() it to make a deep copy, and then add rows to the copy, whilst the rows are not added to the original query (as expected), if you use querycolumndata() on original, you’ll see the array length has been increased by the additional rows added to the copy.
This regression starts from Lucee 6.0.0.36. The issue was caused by this commit:
Try this code:
Notice we’re dumping qry1 at the end there, not qry2. You’ll see the result of querycolumndata() shows an additional array element has been added on the original query object.