mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #6771] Not all fields are present when getting the original data for an entity. #10134
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?
Original Pull Request: https://github.com/doctrine/orm/pull/6771
State: closed
Merged: No
In some cases not all fields are present in the array returned by
UnitOfWork::getOriginalEntityData(). It will filter out non-owning association when updating a scalar field.Is this intended behavior?
See the PR unit test for a test case. I would expect the keys to be the same in both cases but this is not true. My guess it because of this
continuein the UoW.Result of the added test case: