|
@@ 899-902 (lines=4) @@
|
| 896 |
|
$this->originalEntityData[$oid] = (object)$actualData; |
| 897 |
|
$changeSet = []; |
| 898 |
|
foreach ($actualData as $propName => $actualValue) { |
| 899 |
|
if (!$class->hasAssociation($propName)) { |
| 900 |
|
$changeSet[$propName] = [null, $actualValue]; |
| 901 |
|
continue; |
| 902 |
|
} |
| 903 |
|
$assoc = $class->getAssociationMapping($propName); |
| 904 |
|
if ($assoc['isOwningSide'] && $assoc['type'] & ApiMetadata::TO_ONE) { |
| 905 |
|
$changeSet[$propName] = [null, $actualValue]; |
|
@@ 931-937 (lines=7) @@
|
| 928 |
|
continue; |
| 929 |
|
} |
| 930 |
|
// if regular field |
| 931 |
|
if (!$class->hasAssociation($propName)) { |
| 932 |
|
if ($isChangeTrackingNotify) { |
| 933 |
|
continue; |
| 934 |
|
} |
| 935 |
|
$changeSet[$propName] = [$orgValue, $actualValue]; |
| 936 |
|
continue; |
| 937 |
|
} |
| 938 |
|
|
| 939 |
|
$assoc = $class->getAssociationMapping($propName); |
| 940 |
|
// Persistent collection was exchanged with the "originally" |