Bug #88389

ArrayConverter might not convert strings to array

Added by Alexander Schnitzler 6 months ago. Updated 3 months ago.

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

0%

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.

History

#1 Updated by Susanne Moog 3 months ago

  • Tags set to CodingNight

#2 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61410

Also available in: Atom PDF