mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[Bug] Attempting to change readonly property when removing an entity #6987
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pattisahusiwa on GitHub (Jun 3, 2022).
Bug Report
Summary
When removing an entity with read-only
$id,\LogicExceptionis thrownCurrent behavior
\LogicExceptionis thrownHow to reproduce
Expected behavior
No error.
@greg0ire commented on GitHub (Jun 3, 2022):
Duplicate of #9538