Fixed nesting recursion error in some situations. Complement to DDC-1276.
This commit is contained in:
parent
0febf06114
commit
954b5077e4
@ -1735,7 +1735,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$managedCol->initialize();
|
$managedCol->initialize();
|
||||||
|
|
||||||
// clear and set dirty a managed collection if its not also the same collection to merge from.
|
// clear and set dirty a managed collection if its not also the same collection to merge from.
|
||||||
if (!$managedCol->isEmpty() && $managedCol != $mergeCol) {
|
if (!$managedCol->isEmpty() && $managedCol !== $mergeCol) {
|
||||||
$managedCol->unwrap()->clear();
|
$managedCol->unwrap()->clear();
|
||||||
$managedCol->setDirty(true);
|
$managedCol->setDirty(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user