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

Marc Bastian Heinrichs typo3 at mbh-web.de
Tue Nov 9 15:32:11 CET 2010


Hi,

> 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

+1 on reading

Jochen, Sebastian? :-)


Regards,
Marc Bastian


More information about the TYPO3-project-typo3v4mvc mailing list