Skip to content

Commit 60b81df

Browse files
authored
Update _usageNotes.md
1 parent bf01e72 commit 60b81df

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
Prior to Lucee 6, empty values would be auto cast to nulls, Since Lucee 6 only strings behave this way [LDEV-4410](https://luceeserver.atlassian.net/browse/LDEV-4410)
1+
Prior to Lucee 6, empty values would be auto cast to nulls, since Lucee 6 only strings behave this way [LDEV-4410](https://luceeserver.atlassian.net/browse/LDEV-4410)
2+
3+
In Lucee 6, this is no longer the default behavior and throws an exception, which matches ACF.
4+
5+
You can re-enable the old behavior by setting this environment variable or system property to `true`.
6+
7+
**Environment Variable:** `LUCEE_QUERY_ALLOWEMPTYASNULL=TRUE`
8+
**System Property:** `-Dlucee.query.allowemptyasnull="true"`

0 commit comments

Comments
 (0)