1
0
mirror of synced 2025-01-20 07:21:40 +03:00

Fixed merging with NOTIFY policy.

This commit is contained in:
Roman S. Borschel 2010-07-30 17:18:25 +02:00
parent 69073c4b37
commit a25101add1

View File

@ -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);
}
}