Bug #47249

Uncaught Exception in ActionController

Added by Marco Falkenberg over 2 years ago. Updated about 2 years ago.

Status:Closed Start date:2013-04-15
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

In ActionController::getActionMethodParameters a Warning (strpos(): Offset not contained in string) is thrown while stripping out the 'Action' out of method names shorter than 6 characters.

    static public function getActionMethodParameters($objectManager) {
...
            if (strpos($methodName, 'Action', strlen($methodName) - 6) !== FALSE) {
...
    }

Related issues

duplicates TYPO3.Flow - Bug #47469: ActionController issues PHP warning if it contains method... Resolved 2013-04-23

History

#1 Updated by Robert Lemke about 2 years ago

  • Status changed from New to Closed

Duplicate

Also available in: Atom PDF