Lucee inconsistently turns nulls in array to spaces when converting to list

Description

Consider the following code with null support NOT turned on.

The null value is turned to an empty string, which is what is expected when outputting a null as text. The output is:

Perfect. Now consider a small variation of that example but now there is only one index in the array and it is null.

This code does not produce an empty string as expected, but throws this error:

Environment

None

Assignee

Michael Offner

Reporter

Brad Wood

Priority

Minor

Labels

None

Fix versions

Affects versions

Configure