Project

General

Profile

Actions

Bug #64402

closed

ObjectStorageConverter fails to convert empty value

Added by Dirk Wenzel almost 10 years ago. Updated almost 9 years ago.

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

patch.diff (984 Bytes) patch.diff Dirk Wenzel, 2015-01-21 11:54
Actions

Also available in: Atom PDF