booleanFormat: Can't cast String [] to a boolean

Description

Hi,
the following code works correctly on ACF2018 but not on Lucee 5.3.6.61

<cfscript> a = { b: { c: true } } writedump( booleanFormat(a?.c?.d) ) </cfscript>

Environment

Servlet Container Apache Tomcat/9.0.19 Java 11.0.6 (Eclipse OpenJ9) 64bit OS Linux (4.15.0-101-generic) 64bit Architecture 64bit

Activity

Pothys - MitrahSoft 30 September 2022 at 06:31

I added a testcase to this ticket
Pull Request: https://github.com/lucee/Lucee/pull/1825

Pothys - MitrahSoft 26 May 2020 at 09:37

I've checked this ticket and confirmed the issue happened on latest version of lucee also. For this , ACF works fine. But, lucee throws an error as you said. will confirm about this issue.

Assignee

Reporter

Priority

Labels

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 26 May 2020 at 07:22
Updated 27 October 2022 at 12:20