Bug #47249

Uncaught Exception in ActionController

Added by Marco Falkenberg about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
MVC
Target version:
-
Start date:
2013-04-15
Due date:
% Done:

0%

PHP Version:
Has patch:
No
Complexity:

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 methods with short names Resolved 2013-04-23

History

#1 Updated by Robert Lemke almost 6 years ago

  • Status changed from New to Closed

Duplicate

Also available in: Atom PDF