@@ 925-931 (lines=7) @@ | ||
922 | continue; |
|
923 | } |
|
924 | // if regular field |
|
925 | if (!$class->hasAssociation($propName)) { |
|
926 | if ($isChangeTrackingNotify) { |
|
927 | continue; |
|
928 | } |
|
929 | $changeSet[$propName] = [$orgValue, $actualValue]; |
|
930 | continue; |
|
931 | } |
|
932 | ||
933 | $assoc = $class->getAssociationMapping($propName); |
|
934 | // Persistent collection was exchanged with the "originally" |
|
@@ 895-898 (lines=4) @@ | ||
892 | $this->originalEntityData[$oid] = (object)$actualData; |
|
893 | $changeSet = []; |
|
894 | foreach ($actualData as $propName => $actualValue) { |
|
895 | if (!$class->hasAssociation($propName)) { |
|
896 | $changeSet[$propName] = [null, $actualValue]; |
|
897 | continue; |
|
898 | } |
|
899 | $assoc = $class->getAssociationMapping($propName); |
|
900 | if ($assoc['isOwningSide'] && $assoc['type'] & ApiMetadata::TO_ONE) { |
|
901 | $changeSet[$propName] = [null, $actualValue]; |