Skip to content

Commit

Permalink
Merge pull request #1026 from hhoechtl/bugfix/flux-controller-subrequ…
Browse files Browse the repository at this point in the history
…est-arguments

[BUGFIX] Arguments in flux controller were not assigned to subrequest
  • Loading branch information
NamelessCoder committed Nov 17, 2015
2 parents 2e8313d + 976d449 commit 805c35c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Controller/AbstractFluxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ protected function callSubControllerAction($extensionName, $controllerClassName,
$potentialControllerInstance = $this->objectManager->get($controllerClassName);
$viewContext = $this->provider->getViewContext($row, $this->request);
$viewContext->setPackageName($this->provider->getControllerPackageNameFromRecord($row));
/** @var \TYPO3\CMS\Extbase\Mvc\Web\Request $subRequest */
$subRequest = $viewContext->getRequest();
$subRequest->setArguments($arguments);
$subRequest->setControllerExtensionName($viewContext->getExtensionName());
$subRequest->setControllerVendorName($viewContext->getVendorName());
$subRequest->setControllerActionName($this->provider->getControllerActionFromRecord($row));
Expand Down

0 comments on commit 805c35c

Please sign in to comment.