Unresolved
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Bharat Patel
Bharat PatelLabels
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
Fix versions
Priority
Created 1 October 2019 at 09:59
Updated 12 July 2022 at 13:43
Hi,
While updating the Lucee server from 5.2 to 5.3, I found an issue with
serializeJSON
function. In the latest version, it changed the key case to uppercase when passed "struct" as second arguments.variables.qEmpls = queryNew('employeeId, employeeName', 'integer, varchar'); queryAddRow(variables.qEmpls, 1); querySetCell(variables.qEmpls, 'employeeId', 1); querySetCell(variables.qEmpls, 'employeeName', 'Bharat'); queryAddRow(variables.qEmpls, 1); querySetCell(variables.qEmpls, 'employeeId', 2); querySetCell(variables.qEmpls, 'employeeName', 'Naresh'); dump(serializeJSON(variables.qEmpls, "struct"))
Version: 5.2.9.31 [maintain case]
Version: 5.3.2.77 [change case to upper]
Am I miss anything?
Thanks,
Bharat