NULL value throws error in function data type checking with NULL_SUPPORT enabled

Description

After enabling complete null support, I assumed that any native data type would accept the value Null however, only String and Numeric did. I compared this behavior with ACF 2018 with null support enabled as well and it seems to handle it like I expected.

Errors:
"Message":invalid call of the function createPerson, 3th Argument (isDeveloper) is of invalid type, can't cast Null value to value of type [boolean]

"Message": "invalid call of the function createPerson, 4th Argument (birthdate) is of invalid type, can't cast Null value to value of type [date]"

Same type of error with the rest of the parameters

Environment

None

Activity

Show:
Pothys - MitrahSoft
September 30, 2019, 7:55 AM

I've checked this ticket & confirmed the issue happened on both lucee affected version and the latest version 5.3.5.14 also. But, ACF doesn't throw any error for this.

Michael Offner
December 5, 2019, 5:08 PM

Fixed

Assignee

Michael Offner

Reporter

Danny Amor

Priority

Critical

Labels

Fix versions

Affects versions

Configure