1
0
mirror of synced 2025-01-29 19:41:45 +03:00

DDC-1414 - Missing push to $newNodes

This commit is contained in:
Benjamin Eberlei 2011-10-15 17:47:09 +02:00
parent 84dbb08502
commit cb21f3c5ff

View File

@ -871,6 +871,7 @@ class UnitOfWork implements PropertyChangedListener
$targetClass = $this->em->getClassMetadata($assoc['targetEntity']);
if ( ! $calc->hasClass($targetClass->name)) {
$calc->addClass($targetClass);
$newNodes[] = $targetClass;
}
$calc->addDependency($targetClass, $class);
// If the target class has mapped subclasses,