Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenmalling committed Jan 21, 2022
2 parents d53d114 + 18a9246 commit 7dfa9cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ private function Flow_searchForEntitiesAndStoreIdentifierArray($path, $propertyV
'identifier' => $identifier,
'entityPath' => $path
];
$this->$originalPropertyName = Arrays::setValueByPath($this->$originalPropertyName, $path, null);
}
}

Expand Down
5 changes: 0 additions & 5 deletions Neos.Flow/Tests/Functional/Persistence/PersistenceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ public function persistedEntitiesLyingInArraysAreNotSerializedButReferencedByThe
$this->persistenceManager->persistAll();

$serializedData = serialize($testEntityWithArrayProperty);
// the original object should never change by serialization its "public" properties
$this->assertEquals(
$testEntityWithArrayProperty->getArrayProperty()['some']['nestedArray']['key'],
$testEntityLyingInsideTheArray
);

$testEntityLyingInsideTheArray->setName('Neos');
$this->persistenceManager->persistAll();
Expand Down

0 comments on commit 7dfa9cc

Please sign in to comment.