Feature #78842
closedFLUIDTEMPLATE should mimic an actual extbase web request
100%
Description
At the moments the FLUIDTEMPLATE initialize a Fluid StandaloneView which initialize an empty TYPO3\CMS\Extbase\Mvc\Web\Request and no arguments will be initialized.
FLUIDTEMPLATE should mimic an actual request, and ideally it would support a dynamic/unique controller, action, vendor or extension scope.
Which would, coincidentally, also solve the issues surrounding collisions of cached templates when using FLUIDTEMPLATE.
This is related to this patchset https://review.typo3.org/#/c/50809/ which try to solve a part of this problem in the ext:form
render viewhelper which is of course not the right place. The FLUIDTEMPLATE has to initialize the arguments for
TYPO3\CMS\Extbase\Mvc\Web\Request.
Files
Updated by Markus Klein almost 8 years ago
For the record, one can set those options for FLUIDTEMPLATE already (and we use that everytime).
page.10 = FLUIDTEMPLATE page.10.extbase.pluginName page.10.extbase.controllerExtensionName page.10.extbase.controllerName page.10.extbase.controllerActionName
Updated by Ralf Zimmermann almost 8 years ago
The Prolem ist the extabase request initialisation. Please look at the linked patchset. Such a part is missing within the fluidtemplate.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50814
Updated by Ralf Zimmermann almost 8 years ago
- File fluidtemplate_request_issue.tar.gz fluidtemplate_request_issue.tar.gz added
- Status changed from Under Review to New
I attached a little extension to quickly test this issue. It adds a CE which initialize a FLUIDTEMPLATE with a simple form with 1 text element.
If you put this on a page and render the frontend, you can see a debugging message which outputs $this->controllerContext->getRequest()->getArguments().
Without the patchset getArguments() is empty (before and after a form submission).
With the patchset, getArguments() contains the value from the text element after a form submission.
Updated by Gleb Levitin almost 8 years ago
- Status changed from New to Under Review
- Sprint Focus set to On Location Sprint
Updated by Ralf Zimmermann almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5b0f67c4948f0ecdd1ac930b1b880a2a1142ef71.