Issues

Select view

Select search mode

 

not required argument without default value returns empty string

Description

Hi,
please explain.
Why Lucee return null or empty string in cases when argument is not send and don't have default value,
but ACF as expected return error, undifined value.
Exaple:

 

Environment

None

Details

Assignee

Reporter

Priority

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

Created 14 February 2020 at 10:27
Updated 17 November 2023 at 11:47

Activity

Show:

Pothys - MitrahSoft13 October 2023 at 15:47

I added a testcase for this issue (5.4) : [disabled]

Pothys - MitrahSoft17 February 2020 at 14:59

I've checked this ticket and confirmed the issue happened on Lucee latest version 5.3.5.80 SNAPSHOT also. If no arguments send and no default value set for arguments in function means ACF throws an error, but in Lucee didn't throw an error.

Flag notifications