cfquery indexName bugs

Environment

None

Activity

Zac Spitzer 
16 June 2023 at 13:50

simpler playground, not sure what is going on here?

Pothys - MitrahSoft 
4 January 2021 at 15:02

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 
10 September 2020 at 19:29
(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 
10 September 2020 at 18:31

for reference here are the commits

Pothys - MitrahSoft 
31 March 2020 at 14:39
(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.

Details

Assignee

Reporter

Priority

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 30 March 2020 at 08:19
Updated 1 March 2025 at 18:20