Association is null in lazy initialized element collection
Description
When lazily initializing an element collection, ORM 6.2+ wrongly sets an association to null, since the “parent entity” is initialized, hence avoiding resolution in EntityDelayedFetchInitializer#resolveInstance.
It’s wrong though, because the getParentEntityInitializer should return null if a parentAccess is a collection initializer instead of walking up further.
When lazily initializing an element collection, ORM 6.2+ wrongly sets an association to
null
, since the “parent entity” is initialized, hence avoiding resolution inEntityDelayedFetchInitializer#resolveInstance
.It’s wrong though, because the
getParentEntityInitializer
should return null if aparentAccess
is a collection initializer instead of walking up further.