#70014Remove hardcoded ObjectStorage creation in ObjectStorageConverter
Description
\TYPO3\CMS\Extbase\Property\TypeConverter\ObjectStorageConverter contains hardcoded ObjectStorage creation in convertFrom() method:
public function convertFrom($source, $targetType, array $convertedChildProperties = array(), \TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration = NULL) {
$objectStorage = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
...
}
It makes it impossible to use custom ObjectStorage in model without custom TypeConverter.
It makes sense to parse incoming $targetType with TypeHandlingUtility and in case it is child of ObjectStorage or ObjectStorage itself, instantiate it with ObjectManager.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.