mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Entity / property hydration issues after upgrading 2.5.14 => 2.6.0 #5822
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 @holtkamp on GitHub (Dec 25, 2017).
After upgrading from
2.5.14to2.6.0some functionality broke which seems to relate to the hydration of properties of Entities that are part of a (multi-level) DiscriminatorMap:2.5.14Entity is acquired and all properties as populated / set2.6.0Entity is acquired properly, but the properties specific to the Entity are not populated / set. When loading the Entity X directly using the repository and its primary key, all properties are populated.2.5.14the array contains one entry: an object of class "EntityName"2.6.0the array contains one entry: a NULL valueI can reproduce it on my local environment, but can not pinpoint it exactly yet. Will have a look at the current tests and try to come up with a test.