[TASK] Deprecate f:base ViewHelper
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 28 May 2021 19:37:21 +0000 (21:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 30 May 2021 17:35:32 +0000 (19:35 +0200)
commit9fa29262ce3e6b70e85ca7609ac7eaed8e45dfaf
treef278520ebd2177297fc2e10cceeffc0acff8f15b
parent37ad6394ae2655916670d4eae85de458046c3be3
[TASK] Deprecate f:base ViewHelper

The BaseViewHelper which renders a base tag is kinda
useless in our scope: Fluid based rendering typically
takes care of markup within body tag, but base must
be in head.
In frontend, a base tag is thus almost always set using
TypoScript config.baseURL, ending up in PageRenderer.
The backend does stuff like this on a different level,
usually ending up in the PageRenderer as well.
Even with HTML mails, a base tag is uncommon and would
usually - at least in the frontend - again render via
PageRenderer.
The patch deprecates BaseViewHelper.

Resolves: #94227
Releases: master
Change-Id: I7029dd609ca1f0aa1057b67380c7bd3a46b7ed09
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69315
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Simon Gilli <typo3@gilbertsoft.org>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Simon Gilli <typo3@gilbertsoft.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-94227-FbaseViewHelper.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/BaseViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/BaseViewHelperTest.php [deleted file]
typo3/sysext/fluid/Tests/UnitDeprecated/ViewHelpers/BaseViewHelperTest.php [new file with mode: 0644]