Fixed merging with NOTIFY policy.
This commit is contained in:
parent
69073c4b37
commit
a25101add1
1 changed files with 3 additions and 2 deletions
|
@ -1444,10 +1444,11 @@ class UnitOfWork implements PropertyChangedListener
|
|||
}
|
||||
}
|
||||
if ($class->isChangeTrackingNotify()) {
|
||||
//TODO: put changed fields in changeset...?
|
||||
// Just treat all properties as changed, there is no other choice.
|
||||
$this->propertyChanged($managedCopy, $name, null, $prop->getValue($managedCopy));
|
||||
}
|
||||
}
|
||||
if ( ! $class->isChangeTrackingDeferredImplicit()) {
|
||||
if ($class->isChangeTrackingDeferredExplicit()) {
|
||||
$this->scheduleForDirtyCheck($entity);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue