Fix skipping properties if they are listed after a not loaded relation.
This commit is contained in:
parent
67cda0cd75
commit
977f0a5b5c
@ -3393,7 +3393,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
} else {
|
} else {
|
||||||
if ($other instanceof Proxy && !$other->__isInitialized()) {
|
if ($other instanceof Proxy && !$other->__isInitialized()) {
|
||||||
// do not merge fields marked lazy that have not been fetched.
|
// do not merge fields marked lazy that have not been fetched.
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! $assoc2['isCascadeMerge']) {
|
if ( ! $assoc2['isCascadeMerge']) {
|
||||||
@ -3421,7 +3421,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
if ($mergeCol instanceof PersistentCollection && ! $mergeCol->isInitialized()) {
|
if ($mergeCol instanceof PersistentCollection && ! $mergeCol->isInitialized()) {
|
||||||
// do not merge fields marked lazy that have not been fetched.
|
// do not merge fields marked lazy that have not been fetched.
|
||||||
// keep the lazy persistent collection of the managed copy.
|
// keep the lazy persistent collection of the managed copy.
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$managedCol = $prop->getValue($managedCopy);
|
$managedCol = $prop->getValue($managedCopy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user