FluidTYPO3 / fluidcontent

TYPO3 extension Fluidcontent: Fluid Content Element Engine
71 stars 64 forks source link

[BUGFIX] Missing $GLOBALS['BE_USER'] in wizardTabs for affected ViewHelpers #397

Closed monosize closed 6 years ago

monosize commented 7 years ago

Creating the wizardTabs fails during parsing the fluid template, if ViewHelpers were used which need access to $GLOBALS['BE_USER'].

e.g using the pagination widget: The \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper injects the \TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder. This class has a double functionality for BE and FE.

NamelessCoder commented 7 years ago

Hi Frank - I think we need to look into moving this to another hook that is executed after the backend user is initialised. That way we don't have to simulate any instances and get the proper backend user's permissions etc. applied.

NamelessCoder commented 6 years ago

With apologies for rejecting your efforts: fluidcontent is now obsolete and will no longer be maintained. Because of this, issues and pull requests are no longer accepted and the repository will be configured to remove these integrations.