Story #69617: FormEngine bugs
PHP Warning while calling renderForeignRecordHeader
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.
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
Updated by Stefan Froemken over 5 years ago
I only have mentioned one example and I have titled it as "Example". How many problems of this case we have in TYPO3 Core? 50? 100? Since the refactoring I just have found two of them and solved one. With this ticket I wanted to start a task to search for further problems of this type. So IMO this ticket is not solveable with a 3 letter change.
So what's next? Should I/We/Community create a new patch for each kind of this problem? If yes, than you're right and I can solve and push a solution within seconds.