Project

General

Profile

Bug #64402 ยป patch.diff

Dirk Wenzel, 2015-01-21 11:54

View differences:

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;
}
    (1-1/1)