Bug #70951

Story #69617: FormEngine bugs

PHP Warning while calling renderForeignRecordHeader

Added by Stefan Froemken over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-10-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello Core-Team,

in case of restructuring the TCA all values for selct-fields are of type array now. I know, we can't revert it, but we have to update the related code.

Example:

InlineRecordContainer::renderForeignRecordHeader() at line 358 we have following:

$valueParts = GeneralUtility::trimExplode('|', $rec[$titleCol]);

In my case the field was declared as type "inline", so $rec[$titleCol] returns an array now, which results in following warning:

PHP Warning: explode() expects parameter 2 to be string, array given

Stefan


Related issues

Related to TYPO3 Core - Bug #71002: Label of foreign table was not shown in case of irre and foreign_labelClosedStefan Froemken2015-10-25

Actions

Also available in: Atom PDF