Actions
Bug #64402
closedObjectStorageConverter fails to convert empty value
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-01-21
Due date:
% Done:
0%
Estimated time:
0.25 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
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.
Files
Actions