Empty string values are coerced to `NULL` when no property type is declared.

Description

The following property is defined as non-nullable, with an empty string default:

Initializing this entity and saving it causes a ConstraintViolationException to be thrown:

This was working as of 6.4.0, but is now broken in 6.5.0.

Environment

None

Activity

Show:

Michael Born @ OrtusFebruary 20, 2024 at 5:24 PM

Resolved in 6.5.1, which is building now.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Sentry

Created February 20, 2024 at 5:07 PM
Updated February 20, 2024 at 5:24 PM
Resolved February 20, 2024 at 5:24 PM