Revert "[TASK] Deprecate f:format.html in the backend context" 06/52306/5
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 31 Mar 2017 20:34:24 +0000 (21:34 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 31 Mar 2017 21:11:11 +0000 (23:11 +0200)
This patch will be reverted, because the ViewHelper is still in use
and an alternative is not ready yet.

This reverts commit 0a59b27595da8ee48d112de3fe3a5c573103f183.

Releases: master
Resolves: #80620
Reverts: #72716
Change-Id: I9667dbc2acd3fec0ed9af29ae995fb6f25aaae92
Reviewed-on: https://review.typo3.org/52306
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst [deleted file]
typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php

diff --git a/typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst b/typo3/sysext/core/Documentation/Changelog/8.0/Deprecation-72716-DeprecateFformathtmlForUsageInBackend.rst
deleted file mode 100644 (file)
index 222c9e2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-
-.. include:: ../../Includes.txt
-
-==================================================================
-Deprecation: #72716 - Deprecate f:format.html for usage in backend
-==================================================================
-
-See :issue:`72716`
-
-Description
-===========
-
-The usage of the viewhelper `f:format.html` in the backend context is discouraged
-because of possible side effects - e.g. no `lib.parseFunc` is configured.
-
-
-Impact
-======
-
-Using the viewhelper `f:format.html` in the backend context will trigger a
-deprecation log entry.
-
-
-Affected Installations
-======================
-
-Any TYPO3 instance using the viewhelper in the backend context.
-
-
-Migration
-=========
-
-Use the viewhelper `f:format.raw`.
-
-.. index:: Fluid, Backend
index dc61a24..c82a624 100644 (file)
@@ -98,8 +98,6 @@ class HtmlViewHelper extends AbstractViewHelper
     {
         $parseFuncTSPath = $arguments['parseFuncTSPath'];
         if (TYPO3_MODE === 'BE') {
-            GeneralUtility::deprecationLog('The usage of the viewhelper "f:format.html" in the backend context is discouraged, and will stop working with CMS 9. '
-                    . 'Use the viewhelper "f:format.raw" instead.');
             self::simulateFrontendEnvironment();
         }
         $value = $renderChildrenClosure();