Issue Bug Closed

#64402ObjectStorageConverter fails to convert empty value

Dirk Wenzel 01/21/15, 11:54 updated 01/05/16, 19:04

Description

Class TYPO3\CMS\Extbase\Property\TypeConverter\ObjectStorageConverter

Method convertFrom fails if argument $source is an empty string:
Line 60 – Invalid argument for foreach.
(This is the case if a form with an multi-select field has been submitted for a property of type ObjectStorage)

The attached patch fixes this issue but does not contain a test for this case since unit tests for ObjectsStorageConverter are missing completly.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.