From 60b81dfa21419e99a4dcc4b0fc759a1fe563f003 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Tue, 4 Feb 2025 17:35:45 +0100 Subject: [PATCH] Update _usageNotes.md --- docs/03.reference/02.tags/queryparam/_usageNotes.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/03.reference/02.tags/queryparam/_usageNotes.md b/docs/03.reference/02.tags/queryparam/_usageNotes.md index 573f54ef9..45f7ceb12 100644 --- a/docs/03.reference/02.tags/queryparam/_usageNotes.md +++ b/docs/03.reference/02.tags/queryparam/_usageNotes.md @@ -1 +1,8 @@ -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) \ No newline at end of file +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) + +In Lucee 6, this is no longer the default behavior and throws an exception, which matches ACF. + +You can re-enable the old behavior by setting this environment variable or system property to `true`. + +**Environment Variable:** `LUCEE_QUERY_ALLOWEMPTYASNULL=TRUE` +**System Property:** `-Dlucee.query.allowemptyasnull="true"`