CFARGUMENT Can't cast String [] to a boolean

Description

FROM https://issues.jboss.org/browse/RAILO-2313

It used to be possible to simply write "required" and have the attribute be set to true.
It is now being set to an empty string, which is invalid for a boolean value.
Example code:

This used to work fine, but now throws the error "Can't cast String [] to a boolean".
This is probably as a result of the RAILO-2263 change - however, that change should only affect custom attributes, and specifically should not set an empty string for built-in boolean attributes.

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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 6 January 2016 at 01:25
Updated 18 June 2023 at 17:00
Resolved 25 January 2016 at 15:39