You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default view of ext:extbase now returns a view that implements \TYPO3\CMS\Core\View\ViewInterface and not only \TYPO3Fluid\Fluid\View\ViewInterface anymore. This allows implementing
any view that implements \TYPO3\CMS\Core\View\ViewInterface, and frees
the direct dependency to Fluid.
The default return object is an instance of \TYPO3\CMS\Fluid\View\FluidViewAdapter which implements all special
methods tailored for Fluid. Extbase controllers should check for
instance of this object before calling these methods, especially:
getRenderingContext()
setRenderingContext()
renderSection()
renderPartial()
Method calls not being part of \TYPO3\CMS\Core\View\ViewInterface or
the above listed method names have been marked as deprecated and will be
removed in TYPO3 v14.
Impact
Extbase controllers that extend \TYPO3\CMS\Extbase\Mvc\Controller\ActionController and call methods
not part of \TYPO3\CMS\Core\View\ViewInterface, should test for $view instanceof FluidViewAdapter before calling getRenderingContext(), setRenderingContext(),
php:renderSection() and renderPartial().
All other Fluid related methods called on $view have been marked as
deprecated and will log a deprecation level error message.
Affected installations
Instances with Extbase based extensions that call $view methods
without testing for \TYPO3\CMS\Fluid\View\FluidViewAdapter.
Migration
Methods on "old" Fluid instances were wrapper methods for \TYPO3\CMS\Fluid\Core\Rendering\RenderingContext. Controllers should
call $view->getRenderingContext() to perform operations instead.
Fluid, PHP-API, NotScanned, ext:extbase
The text was updated successfully, but these errors were encountered:
Deprecation: #101559 - Extbase uses ext:core ViewInterface
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-101559-ExtbaseUsesExtcoreViewInterface.html
Deprecation: #101559 - Extbase uses ext:core ViewInterface
See 101559
Description
The default view of ext:extbase now returns a view that implements
\TYPO3\CMS\Core\View\ViewInterface
and not only\TYPO3Fluid\Fluid\View\ViewInterface
anymore. This allows implementingany view that implements
\TYPO3\CMS\Core\View\ViewInterface
, and freesthe direct dependency to Fluid.
The default return object is an instance of
\TYPO3\CMS\Fluid\View\FluidViewAdapter
which implements all specialmethods tailored for Fluid. Extbase controllers should check for
instance of this object before calling these methods, especially:
getRenderingContext()
setRenderingContext()
renderSection()
renderPartial()
Method calls not being part of
\TYPO3\CMS\Core\View\ViewInterface
orthe above listed method names have been marked as deprecated and will be
removed in TYPO3 v14.
Impact
Extbase controllers that extend
\TYPO3\CMS\Extbase\Mvc\Controller\ActionController
and call methodsnot part of
\TYPO3\CMS\Core\View\ViewInterface
, should test for$view instanceof FluidViewAdapter
before callinggetRenderingContext()
,setRenderingContext()
,php:renderSection() and
renderPartial()
.All other Fluid related methods called on
$view
have been marked asdeprecated and will log a deprecation level error message.
Affected installations
Instances with Extbase based extensions that call
$view
methodswithout testing for
\TYPO3\CMS\Fluid\View\FluidViewAdapter
.Migration
Methods on "old" Fluid instances were wrapper methods for
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext
. Controllers shouldcall
$view->getRenderingContext()
to perform operations instead.Fluid, PHP-API, NotScanned, ext:extbase
The text was updated successfully, but these errors were encountered: