From fe563ffb2206b8d50d8e208c48401a6fde44f148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9Fberndt?= <stephan@grossberndt.de> Date: Mon, 11 Dec 2017 10:47:16 +0100 Subject: [PATCH] [!!!][TASK] Remove EXT:backend/Resources/Private/Templates/Close.html Remove unused file EXT:backend/Resources/Private/Templates/Close.html In #68108 the file Close.html was erroneously moved to EXT:backend/Resources/Private/Templates/ which is a path that is not directly accessible for web users, but the file must be. In #83258 this was fixed by copying the file to EXT:backend/Resources/Public/Html/ to make this a non-breaking change back-portable down to 7.6. Releases: master Resolves: #83284 Related: #83258 Related: #68108 Change-Id: I4ece2b4d6069e0a573ecfa092c73b80d2c07a42f Reviewed-on: https://review.typo3.org/55023 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org> --- .../Resources/Private/Templates/Close.html | 15 --------- ...vedExtBackendPrivateTemplatesCloseHtml.rst | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 15 deletions(-) delete mode 100644 typo3/sysext/backend/Resources/Private/Templates/Close.html create mode 100644 typo3/sysext/core/Documentation/Changelog/master/Breaking-83284-RemovedExtBackendPrivateTemplatesCloseHtml.rst diff --git a/typo3/sysext/backend/Resources/Private/Templates/Close.html b/typo3/sysext/backend/Resources/Private/Templates/Close.html deleted file mode 100644 index 5a0cfc59ebc8..000000000000 --- a/typo3/sysext/backend/Resources/Private/Templates/Close.html +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <!-- Close script, used in particular by FormEngine to close the current edit window --> - <!-- TYPO3 Script ID: typo3/sysext/backend/Resources/Private/Templates/Close.html --> - <meta charset="utf-8" /> - <title>Close</title> - <script type="text/javascript"> - self.close(); - window.opener.location.reload(true); - </script> - </head> - <body> - </body> -</html> diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-83284-RemovedExtBackendPrivateTemplatesCloseHtml.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-83284-RemovedExtBackendPrivateTemplatesCloseHtml.rst new file mode 100644 index 000000000000..786911661028 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-83284-RemovedExtBackendPrivateTemplatesCloseHtml.rst @@ -0,0 +1,33 @@ +.. include:: ../../Includes.txt + +============================================================================= +Breaking: #83284 - Removed EXT:backend/Resources/Private/Templates/Close.html +============================================================================= + +See :issue:`83284` + +Description +=========== + +The file :php:`EXT:backend/Resources/Private/Templates/Close.html` has been removed. + + +Impact +====== + +Accessing the file :php:`EXT:backend/Resources/Private/Templates/Close.html` will result in an empty string returned or an exception, depending on the code to access it. + + +Affected Installations +====================== + +All instances, that manually access this file or use the extensions doing this.. +The extension scanner of the install tool will find affected extensions. + + +Migration +========= + +Use the file :php:`EXT:backend/Resources/Public/Html/Close.html` instead. + +.. index:: Backend, NotScanned -- GitLab