Bug #64402 ยป patch.diff
typo3/sysext/extbase/Classes/Property/TypeConverter/ObjectStorageConverter.php | ||
---|---|---|
*/
|
||
public function convertFrom($source, $targetType, array $convertedChildProperties = array(), \TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration = NULL) {
|
||
$objectStorage = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
|
||
foreach ($convertedChildProperties as $subProperty) {
|
||
$objectStorage->attach($subProperty);
|
||
if(is_array($source)){
|
||
foreach ($convertedChildProperties as $subProperty) {
|
||
$objectStorage->attach($subProperty);
|
||
}
|
||
}
|
||
return $objectStorage;
|
||
}
|