[FLOW3-general] No controller youl be resolved for routeParts

Andreas Beyl beyl at stimme.net
Wed Nov 21 15:12:57 CET 2012


Hi Bastian,

thanks for your quick response.

> Hi Andreas,
>
>> name: 'League REST API GET/PUT/DELETE calls'
>> uriPattern: 'leagues/{league}'
>> defaults:
>>     '@package': 'SNET.GoalKeeper'
>>     '@controller': 'League'
>>     '@action': 'index'
>>     '@format': 'json'
>> routeParts:
>>     league:
>>       objectType: '\SNET\GoalKeeper\Domain\Model\League'
>>       uriPattern: '{urisegment}'
>
> The leading slash in the "objectType" is wrong (see [1]).
Had it first without the leading slash. Same result. Then tested it with 
the slash :)

> Apart from that it looks correct at first sight.
> Did you check the log, it contains more details about the failing routes.


The System_Development.log contains:

12-11-21 15:06:22  DEBUG     Flow                 Router route(): A 
cached Route with the cache identifier 
"597e8bd8ef6e123147257bc27cd836fd" matched the path "leagues/OLBW".
12-11-21 15:06:22  CRITICAL  Flow                 Uncaught exception 
#1303209195 in line 75 of 
C:\xampp\htdocs\goalKeeper\Data\Temporary\Development\Cache\Code\Flow_Object_Classes\TYPO3_Flow_Mvc_Dispatcher_Original.php: 
No controller could be resolved which would match your request. Package 
key: "leagues", controller name: "OLBW" - See also: 20121121150612d07d8b.txt


The file 20121121150612d07d8b.txt contains:

Uncaught exception #1303209195 in line 75 of 
C:\xampp\htdocs\goalKeeper\Data\Temporary\Development\Cache\Code\Flow_Object_Classes\TYPO3_Flow_Mvc_Dispatcher_Original.php: 
No controller could be resolved which would match your request. Package 
key: "leagues", controller name: "OLBW"

12 
TYPO3\Flow\Mvc\Dispatcher_Original::resolveController(TYPO3\Flow\Mvc\ActionRequest)
11 
TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, 
TYPO3\Flow\Http\Response)
10 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, 
TYPO3\Flow\Http\Response)
9 call_user_func_array(array|2|, array|2|)
8 
TYPO3\Flow\Mvc\Dispatcher::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint)
7 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)
6 
TYPO3\Flow\Security\Aspect\RequestDispatchingAspect_Original::blockIllegalRequestsAndForwardToAuthenticationEntryPoints(TYPO3\Flow\Aop\JoinPoint)
5 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke(TYPO3\Flow\Aop\JoinPoint)
4 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)
3 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, 
TYPO3\Flow\Http\Response)
2 TYPO3\Flow\Http\RequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()

>
>
> [1]
> http://flow.typo3.org/documentation/guide/partiii/routing.html#object-route-parts
>
>

still no clue...


More information about the FLOW3-general mailing list