Project

General

Profile

Actions

Feature #78842

closed

FLUIDTEMPLATE should mimic an actual extbase web request

Added by Ralf Zimmermann almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2016-11-30
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
On Location Sprint

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

fluidtemplate_request_issue.tar.gz (7.48 KB) fluidtemplate_request_issue.tar.gz Ralf Zimmermann, 2016-12-01 04:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #78838: Ext:form - let renderViewHelper works within a FLUIDTEMPLATE CEClosedRalf Zimmermann2016-11-29

Actions
Actions #1

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
Actions #2

Updated by Ralf Zimmermann almost 8 years ago

That don't solve the Problem.

Actions #3

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.

Actions #4

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

Actions #5

Updated by Ralf Zimmermann almost 8 years ago

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.

Actions #6

Updated by Gleb Levitin almost 8 years ago

  • Status changed from New to Under Review
  • Sprint Focus set to On Location Sprint
Actions #7

Updated by Ralf Zimmermann almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF