Project

General

Profile

Actions

Bug #88389

closed

ArrayConverter might not convert strings to array

Added by Alexander Schnitzler almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2019-05-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
CodingNight
Complexity:
Is Regression:
Sprint Focus:

Description

Currently, \TYPO3\CMS\Extbase\Property\TypeConverter\ArrayConverter does not necessarily convert all strings to array, but only empty ones.
This contradicts the idea of converters because a converter must convert all supported source types to a value of the given target type.

As there are many ways of converting strings to array, the converter should accept a configuration that allows for exploding strings by a given delimiter.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #90847: DataMapper for array typeClosed2020-03-27

Actions
Actions

Also available in: Atom PDF