[PR #6284] #6217 when hydrating an entity with a composite primary key that is both an EAGER and a LAZY association and also cached, the DefaultQueryCache tries to pass L2 cache implementation detail objects to the UnitOfWork #9929

Open
opened 2026-01-22 16:05:52 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/6284

State: closed
Merged: No


I recreated the branch for https://github.com/doctrine/doctrine2/pull/6217 which forced closing to PR so I am submitting this as a new PR.

DESC: Handle AssociationCacheEntry identifier

Fixes Notice: Undefined property: Doctrine\ORM\Cache\AssociationCacheEntry::$id when retrieving an associated entity from a Composite primary key

**Original Pull Request:** https://github.com/doctrine/orm/pull/6284 **State:** closed **Merged:** No --- I recreated the branch for https://github.com/doctrine/doctrine2/pull/6217 which forced closing to PR so I am submitting this as a new PR. DESC: Handle AssociationCacheEntry identifier Fixes Notice: Undefined property: Doctrine\ORM\Cache\AssociationCacheEntry::$id when retrieving an associated entity from a Composite primary key
admin added the pull-request label 2026-01-22 16:05:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9929