setValue on typed property must unset to uninitialized #6

Closed
opened 2026-01-24 11:24:43 +01:00 by admin · 0 comments
Owner

Originally created by @beberlei on GitHub (Mar 15, 2020).

Originally assigned to: @beberlei on GitHub.

This fixes doctrine/orm#7999 when during a delete operation the identifier is set to null. This is not possible on typed properties that are not nullable.

You can workaround it by unitiializing the property instead, which comes close to NULL.

Originally created by @beberlei on GitHub (Mar 15, 2020). Originally assigned to: @beberlei on GitHub. This fixes doctrine/orm#7999 when during a delete operation the identifier is set to null. This is not possible on typed properties that are not nullable. You can workaround it by unitiializing the property instead, which comes close to NULL.
admin added the Bug label 2026-01-24 11:24:43 +01:00
admin closed this issue 2026-01-24 11:24:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/reflection#6