[DDC-2246] ORM\UnitOfWork::getEntityState() crash when using a new Entity with association composite key Created: 17/Jan/13 Updated: 20/Jan/13 Resolved: 20/Jan/13
|Project:||Doctrine 2 - ORM|
|Reporter:||keks nicoh||Assignee:||Benjamin Eberlei|
I already found a similar issue report but it seems to be not solved completely:
I did something like this (mock): (Metadata cache is OFF)
// Note: $userEntity & $anotherRelationEntity are managed by UOW.
$uow = $em->getUnitOfWork();
– EXPECTED: –
– ACTUAL RESULT: –
As you see the metadatainfo tries to convert the composite objects to strings, instead of getting the identifiers from the objects.
|Comment by Benjamin Eberlei [ 20/Jan/13 ]|
Fixed and merged into 2.3.x branch