Project

General

Profile

Actions

Bug #80295

closed

CSH not working with flexform settings.<fieldname>details

Added by Gerald Loß over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-03-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Hello together,

If I define a flexform with fields containing the prefix settings, I'm not able to provide a context sensitive help with details. Showing the description and a alttitle is working fine. When I define a detail with the syntax settings.<fieldname>.details I get the following error message. This error appears if I click on the csh help in the backend, to open the details window.

PHP Warning
Core: Error handler (BE): PHP Warning: array_shift() expects parameter 1 to be array, string given in /usr/src/typo3_src-7.6.16/typo3/sysext/cshmanual/Classes/Controller/HelpController.php line 116

If I define the field without the "settings." prefix with the syntax <fieldname>.details, I get the details properly shown in the csh help. I guess you try to split the fieldname on the dots in the HelpController Class, but don't recognize that we have at least two dots in the name.
If I omit the "settings." prefix in the fieldname of the flexform, I'm not able to read the flexform values in the extbase engine. So I need urgently a solution for this issue.

Thanks in advanced
Gerald


Files

CSH_Error.zip (1.35 KB) CSH_Error.zip example files with a flexform definition and the corrsponding csh language files Gerald Loß, 2017-03-15 23:09
Actions

Also available in: Atom PDF