cfquery indexName bugs

Environment

None

Activity

Show:
Pothys - MitrahSoft
January 4, 2021, 3:02 PM

I've checked this ticket with lucee latest version. The first issue was fixed from 5.3.8.77-SNAPSHOT onwards. Seems queryRowByIndex(), queryRowDataByIndex(), queryGetCellByIndex() still works as same as before.

Zac Spitzer
September 10, 2020, 7:29 PM
Edited

I have no idea what these functions are meant to do?

what is the index parameter for? https://docs.lucee.org/reference/functions/queryrowbyindex.html

I have been playing around with the above example a bit

https://trycf.com/gist/6b1b5224e95b6381556f6c1b0b39408b/lucee5?theme=monokai

Zac Spitzer
September 10, 2020, 6:31 PM

for reference here are the commits

Pothys - MitrahSoft
March 31, 2020, 2:39 PM
Edited

I've checked this ticket & the issue has reproduced on lucee. If we use indexname as aliased_column, it'll throw the Null pointer exception error. And also, I confirmed the issue, below functions are working incorrectly. Anyway, Micha will confirm about this issue.

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

Blocker

Labels

Fix versions

None

Affects versions