Thanks for taking a look at this! As I’m already using this.serialization.preserveCaseForQueryColumn = false; in Application.cfc, I suspect my issue has something specficially to do with the way that the columns are serialized when a query is returned as json in a cfcomponent method invocation.
I’ve attached here a docker-compose.yml file that reproduces the issue (loads the same Application.cfc and Test.cfc components into a Lucee 5 and Lucee 6 image so you can see the difference in serialization).
➜ LDEV-5518-REPRO docker compose up -d
[+] Running 3/3
✔ Network ldev-5518-repro_default Created 0.1s
✔ Container ldev-5518-repro-lucee5-1 Started 0.5s
✔ Container ldev-5518-repro-lucee6-1 Started 0.5s
➜ LDEV-5518-REPRO curl "http://localhost:7005/Test.cfc?method=test"
{"COLUMNS":["ID","NAME"],"DATA":[[1,"Neo"],[2,"Trinity"],[3,"Morpheus"]]}%
➜ LDEV-5518-REPRO curl "http://localhost:7006/Test.cfc?method=test"
{"COLUMNS":["iD","NaMe"],"DATA":[[1,"Neo"],[2,"Trinity"],[3,"Morpheus"]]}%