[TYPO3-mvc] RFC: #10688 Improve overrideSwitchableControllerActionsFromFlexform()

Georg Ringer mail at ringerge.org
Tue Nov 9 07:45:34 CET 2010


Hi list,

This is an SVN patch request.

Type: Bug, nobrainer

Bugtracker reference:
http://forge.typo3.org/issues/10688

Branches:
trunk, 1.2

Problem:
The function overrideSwitchableControllerActionsFromFlexform() splits
the the given actions by ';'.
t3lib_div::trimExplode should be called with TRUE to avoid an empty
action which can be a result by a flexform entry like "Fo->index;Fo->list;"
Note the last ';';

This improves the usability as the error states "controller or action
wrong" which is strange if action/controller are selected in the flexforms


Solution:
use 3rd parameter = TRUE

How to test:
Use a flexform configuration and add a ; add the end, reselect the entry
and call the FE

Regards,
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10688_switchableControllerActions.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101109/db595a56/attachment.txt>


More information about the TYPO3-project-typo3v4mvc mailing list