Merge branch 'DDC-714'
This commit is contained in:
commit
75fa640bfe
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||
$idValue = $idGen->generate($this->em, $entity);
|
||||
if ( ! $idGen instanceof \Doctrine\ORM\Id\AssignedGenerator) {
|
||||
$this->entityIdentifiers[$oid] = array($class->identifier[0] => $idValue);
|
||||
$class->setIdentifierValues($entity, $idValue);
|
||||
$class->setIdentifierValues($entity, $this->entityIdentifiers[$oid]);
|
||||
} else {
|
||||
$this->entityIdentifiers[$oid] = $idValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue