Project

General

Profile

Actions

Bug #89529

closed

EXT:form: value in singleselect contains dot/period AT END - rendering fails

Added by Ingo Müller about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-10-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi there seems similar to those and therefor should be fixed in 8.7 already:
https://forge.typo3.org/projects/typo3cms-core/repository/revisions/b4b32de503ef0eb4df520dc0cf41f0fd84376bb3

But perhaps it was not tested if the period/dot is at the end of the value.

Form building is possible in the backend gui but rendering in frontend fails with:

frontend error:
Oops, an error occurred!
Argument 1 passed to TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::resolveTypoScriptConfiguration() must be of the type array, string given, called in /var/www/xxxx/vendor/typo3/cms/typo3/sysext/form/Classes/Mvc/Configuration/TypoScriptService.php on line 85

backend log:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::resolveTypoScriptConfiguration() must be of the type array, string given, called in /var/www/xxxx/vendor/typo3/cms/typo3/sysext/form/Classes/Mvc/Configuration/TypoScriptService.php on line 85 | TypeError thrown in file /var/www/xxxx/vendor/typo3/cms/typo3/sysext/form/Classes/Mvc/Configuration/TypoScriptService.php in line 74. Requested URL: https://www.xxx/x/anmeldeformular/?no_cache=1

FAILS:

label         value
Prof. Dr.     Prof. Dr.

WORKS if last period is left out:

label         value
Prof. Dr.     Prof. Dr

T3 v8.7.28 on php 7.0 and 7.3


Files

Actions

Also available in: Atom PDF