Skip to content

Commit

Permalink
Update _usageNotes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer authored Feb 4, 2025
1 parent bf01e72 commit 60b81df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/03.reference/02.tags/queryparam/_usageNotes.md
Original file line number Diff line number Diff line change
@@ -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)
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"`

0 comments on commit 60b81df

Please sign in to comment.