Bug #36236

Call to method not being backed by an interface in Http RequestHandler

Added by Adrian Föder over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
Http
Start date:
2012-04-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

in Http's RequestHandler's handleRequest() method, there is

$this->router->setRoutesConfiguration($this->routesConfiguration);

in my case case of a Widget Request, $this->router is TYPO3\Fluid\Core\Widget\WidgetRouter which hasn't a setRoutesConfiguration() method.

So now there are few issues with that:

  • the $this->router is annotated to be \TYPO3\FLOW3\Mvc\Routing\Router, not ...RouterInterface
  • the RouterInterface, however, hasn't the setRoutesConfiguration() method.
  • the TYPO3\Fluid\Core\Widget\WidgetRouter doesn't implement from that interface
  • and, as said, the TYPO3\Fluid\Core\Widget\WidgetRouter also doesn't have the setRoutesConfiguration().

Related issues

Related to TYPO3.Fluid - Bug #36500: Ajax widgets can't be executedResolved2012-04-24

Actions

Also available in: Atom PDF