Project

General

Profile

Actions

Bug #83477

closed

Form finisher parseOption fails with MultiCheckbox / MultiSelect

Added by Ronald Kools over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2018-01-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Form Framework, finisher, array
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

I have a form with a field called "newsletter", which enables you to select 1 or more newsletters using a MultiCheckbox.

However, when you use parseOption on this field the values - that are actually correcty retrieved in $value before the if-statement below is executed - are discarded because $value is only allowed as a string or numeric value:

Line 208:

if (!is_string($value) && !is_numeric($value)) {
$value = '{' . $match[1] . '}';
}

I would expect that it would be returning an array of parsed options instead of '{newsletter}'.


Files

newsletter.yaml (996 Bytes) newsletter.yaml Ronald Kools, 2018-03-14 16:02
newsletter.jpg (74.7 KB) newsletter.jpg Ronald Kools, 2018-03-14 16:02

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #84698: Severity for ext:form was not acceptedClosed2018-04-12

Actions
Actions

Also available in: Atom PDF