From 7df7dee3a9c155e0d9fc0c82b878dccb1dcb5c66 Mon Sep 17 00:00:00 2001 From: Benni Mack <benni@typo3.org> Date: Sat, 30 Sep 2017 22:15:52 +0200 Subject: [PATCH] [!!!][TASK] Remove tce_db options "prErr" and "uPT" The two GET/POST parameters "prErr" (Print Errors) and "uPT" (Update Pagetree) are removed. The GET/POST parameter "uPT" is there to explicitly request a refresh of the page tree if visible on the next module load. The GET/POST parameter "prErr" adds flash messages to the session queue which should be a default behaviour anyway. Please note that this only affects the SimpleDataHandlerController (BE module "tce_db") and no datahandler calls itself. The first parameter of DataHandler->printLogErrorMessages() is removed as it is unused. Resolves: #82629 Releases: master Change-Id: Ifc925e49b49f1537a65141810403a7758e0b448b Reviewed-on: https://review.typo3.org/54244 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Susanne Moog <susanne.moog@typo3.org> Reviewed-by: Andreas Fernandez <typo3@scripting-base.de> Tested-by: Susanne Moog <susanne.moog@typo3.org> Reviewed-by: Frank Naegler <frank.naegler@typo3.org> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../backend/Classes/Clipboard/Clipboard.php | 4 -- .../Controller/EditDocumentController.php | 4 +- .../Controller/PageLayoutController.php | 2 +- .../SimpleDataHandlerController.php | 27 ++--------- .../Tree/View/PageMovingPagePositionMap.php | 2 +- .../Classes/Tree/View/PagePositionMap.php | 4 +- .../Classes/Utility/BackendUtility.php | 6 +-- .../Public/JavaScript/ContextMenuActions.js | 10 ++--- .../ViewHelpers/IssueCommandViewHelper.php | 5 --- .../ViewHelpers/RemoveUserViewHelper.php | 2 - .../core/Classes/DataHandling/DataHandler.php | 4 +- ...g-82629-TceDbOptionsPrErrAndUPTRemoved.rst | 45 +++++++++++++++++++ .../Public/JavaScript/ContextMenuActions.js | 3 +- .../Php/MethodArgumentDroppedMatcher.php | 6 +++ .../Php/PropertyPublicMatcher.php | 11 ++++- .../sysext/recordlist/Classes/RecordList.php | 2 +- 16 files changed, 79 insertions(+), 58 deletions(-) create mode 100644 typo3/sysext/core/Documentation/Changelog/master/Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst diff --git a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php index 2a7345ff5ec3..a763d570188e 100644 --- a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php +++ b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php @@ -612,8 +612,6 @@ class Clipboard public function pasteUrl($table, $uid, $setRedirect = true, array $update = null) { $urlParameters = [ - 'prErr' => 1, - 'uPT' => 1, 'CB[paste]' => $table . '|' . $uid, 'CB[pad]' => $this->current ]; @@ -636,8 +634,6 @@ class Clipboard public function deleteUrl($setRedirect = 1, $file = 0) { $urlParameters = [ - 'prErr' => 1, - 'uPT' => 1, 'CB[delete]' => 1, 'CB[pad]' => $this->current ]; diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php index ad2b4bd54cc0..844d2eac70ab 100644 --- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php +++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php @@ -684,7 +684,7 @@ class EditDocumentController extends AbstractModule $this->previewData['table'] = $table; $this->previewData['id'] = $id; } - $tce->printLogErrorMessages(isset($_POST['_saveandclosedok']) || isset($_POST['_translation_savedok']) ? $this->retUrl : $this->R_URL_parts['path'] . '?' . GeneralUtility::implodeArrayForUrl('', $this->R_URL_getvars)); + $tce->printLogErrorMessages(); } // || count($tce->substNEWwithIDs)... If any new items has been save, the document is CLOSED // because if not, we just get that element re-listed as new. And we don't want that! @@ -758,7 +758,7 @@ class EditDocumentController extends AbstractModule } } function deleteRecord(table,id,url) { // - window.location.href = ' . GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl('tce_db') . '&cmd[') . '+table+"]["+id+"][delete]=1&redirect="+escape(url)+"&prErr=1&uPT=1"; + window.location.href = ' . GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl('tce_db') . '&cmd[') . '+table+"]["+id+"][delete]=1&redirect="+escape(url); } '; diff --git a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php index ddfff72aabc9..5c3f938b0c86 100644 --- a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php +++ b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php @@ -716,7 +716,7 @@ class PageLayoutController ' . ($this->popView ? BackendUtility::viewOnClick($this->id, '', BackendUtility::BEgetRootLine($this->id)) : '') . ' function deleteRecord(table,id,url) { // window.location.href = ' . GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl('tce_db') . '&cmd[') - . ' + table + "][" + id + "][delete]=1&redirect=" + encodeURIComponent(url) + "&prErr=1&uPT=1"; + . ' + table + "][" + id + "][delete]=1&redirect=" + encodeURIComponent(url); return false; } '); diff --git a/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php b/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php index 6cfb1368b992..71a0db5cc753 100644 --- a/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php +++ b/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php @@ -77,13 +77,6 @@ class SimpleDataHandlerController */ public $redirect; - /** - * Boolean. If set, errors will be printed on screen instead of redirection. Should always be used, otherwise you will see no errors if they happen. - * - * @var int - */ - public $prErr; - /** * Clipboard command array. May trigger changes in "cmd" * @@ -91,13 +84,6 @@ class SimpleDataHandlerController */ public $CB; - /** - * Boolean. Update Page Tree Trigger. If set and the manipulated records are pages then the update page tree signal will be set. - * - * @var int - */ - public $uPT; - /** * TYPO3 Core Engine * @@ -127,9 +113,7 @@ class SimpleDataHandlerController $this->mirror = GeneralUtility::_GP('mirror'); $this->cacheCmd = GeneralUtility::_GP('cacheCmd'); $this->redirect = GeneralUtility::sanitizeLocalUrl(GeneralUtility::_GP('redirect')); - $this->prErr = GeneralUtility::_GP('prErr'); $this->CB = GeneralUtility::_GP('CB'); - $this->uPT = GeneralUtility::_GP('uPT'); // Creating DataHandler object $this->tce = GeneralUtility::makeInstance(DataHandler::class); // Configuring based on user prefs. @@ -203,7 +187,7 @@ class SimpleDataHandlerController $this->tce->clear_cacheCmd($this->cacheCmd); } // Update page tree? - if ($this->uPT && (isset($this->data['pages']) || isset($this->cmd['pages']))) { + if (isset($this->data['pages']) || isset($this->cmd['pages'])) { BackendUtility::setUpdateSignal('updatePageTree'); } } @@ -223,9 +207,7 @@ class SimpleDataHandlerController $this->main(); // Write errors to flash message queue - if ($this->prErr) { - $this->tce->printLogErrorMessages($this->redirect); - } + $this->tce->printLogErrorMessages(); if ($this->redirect) { $response = $response ->withHeader('Location', GeneralUtility::locationHeaderUrl($this->redirect)) @@ -257,10 +239,7 @@ class SimpleDataHandlerController ]; // Prints errors (= write them to the message queue) - if ($this->prErr) { - $content['hasErrors'] = true; - $this->tce->printLogErrorMessages($this->redirect); - } + $this->tce->printLogErrorMessages(); $messages = $flashMessageService->getMessageQueueByIdentifier()->getAllMessagesAndFlush(); if (!empty($messages)) { diff --git a/typo3/sysext/backend/Classes/Tree/View/PageMovingPagePositionMap.php b/typo3/sysext/backend/Classes/Tree/View/PageMovingPagePositionMap.php index adff3e9b7526..60b77b9c0c88 100644 --- a/typo3/sysext/backend/Classes/Tree/View/PageMovingPagePositionMap.php +++ b/typo3/sysext/backend/Classes/Tree/View/PageMovingPagePositionMap.php @@ -41,7 +41,7 @@ class PageMovingPagePositionMap extends PagePositionMap */ public function onClickEvent($pid, $newPagePID) { - return 'window.location.href=' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue(\TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('tce_db') . '&cmd[pages][' . $GLOBALS['SOBE']->moveUid . '][' . $this->moveOrCopy . ']=' . $pid . '&redirect=' . rawurlencode($this->R_URI) . '&prErr=1&uPT=1') . ';return false;'; + return 'window.location.href=' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue(\TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('tce_db') . '&cmd[pages][' . $GLOBALS['SOBE']->moveUid . '][' . $this->moveOrCopy . ']=' . $pid . '&redirect=' . rawurlencode($this->R_URI)) . ';return false;'; } /** diff --git a/typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php b/typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php index 1f4c06667a6f..43a022e4f858 100644 --- a/typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php +++ b/typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php @@ -562,9 +562,9 @@ class PagePositionMap { $table = 'tt_content'; if (is_array($row)) { - $location = BackendUtility::getModuleUrl('tce_db') . '&cmd[' . $table . '][' . $moveUid . '][' . $this->moveOrCopy . ']=-' . $row['uid'] . '&prErr=1&uPT=1'; + $location = BackendUtility::getModuleUrl('tce_db') . '&cmd[' . $table . '][' . $moveUid . '][' . $this->moveOrCopy . ']=-' . $row['uid']; } else { - $location = BackendUtility::getModuleUrl('tce_db') . '&cmd[' . $table . '][' . $moveUid . '][' . $this->moveOrCopy . ']=' . $pid . '&data[' . $table . '][' . $moveUid . '][colPos]=' . $vv . '&prErr=1'; + $location = BackendUtility::getModuleUrl('tce_db') . '&cmd[' . $table . '][' . $moveUid . '][' . $this->moveOrCopy . ']=' . $pid . '&data[' . $table . '][' . $moveUid . '][colPos]=' . $vv; } $location .= '&redirect=' . rawurlencode($this->R_URI); // returns to prev. page diff --git a/typo3/sysext/backend/Classes/Utility/BackendUtility.php b/typo3/sysext/backend/Classes/Utility/BackendUtility.php index a7c640149a87..b4cf190a1556 100644 --- a/typo3/sysext/backend/Classes/Utility/BackendUtility.php +++ b/typo3/sysext/backend/Classes/Utility/BackendUtility.php @@ -2639,11 +2639,7 @@ class BackendUtility */ public static function getLinkToDataHandlerAction($parameters, $redirectUrl = '') { - $urlParameters = [ - 'prErr' => 1, - 'uPT' => 1, - ]; - $url = self::getModuleUrl('tce_db', $urlParameters) . $parameters . '&redirect='; + $url = self::getModuleUrl('tce_db') . $parameters . '&redirect='; if ((int)$redirectUrl === -1) { $url = GeneralUtility::quoteJSvalue($url) . '+T3_THIS_LOCATION'; } else { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js b/typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js index 47535a885a43..41ff48d66097 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js @@ -111,14 +111,14 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func ContextMenuActions.disableRecord = function (table, uid) { top.TYPO3.Backend.ContentContainer.setUrl( - top.TYPO3.settings.RecordCommit.moduleUrl + '&data[' + table + '][' + uid + '][hidden]=1&prErr=1&redirect=' + ContextMenuActions.getReturnUrl() + top.TYPO3.settings.RecordCommit.moduleUrl + '&data[' + table + '][' + uid + '][hidden]=1&redirect=' + ContextMenuActions.getReturnUrl() ); top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree.defer(500); }; ContextMenuActions.enableRecord = function (table, uid) { top.TYPO3.Backend.ContentContainer.setUrl( - top.TYPO3.settings.RecordCommit.moduleUrl + '&data[' + table + '][' + uid + '][hidden]=0&prErr=1&redirect=' + ContextMenuActions.getReturnUrl() + top.TYPO3.settings.RecordCommit.moduleUrl + '&data[' + table + '][' + uid + '][hidden]=0&redirect=' + ContextMenuActions.getReturnUrl() ); top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree.defer(500); }; @@ -145,7 +145,7 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func $modal.on('button.clicked', function (e) { if (e.target.name === 'delete') { top.TYPO3.Backend.ContentContainer.setUrl( - top.TYPO3.settings.RecordCommit.moduleUrl + '&redirect=' + ContextMenuActions.getReturnUrl() + '&cmd[' + table + '][' + uid + '][delete]=1&prErr=1' + top.TYPO3.settings.RecordCommit.moduleUrl + '&redirect=' + ContextMenuActions.getReturnUrl() + '&cmd[' + table + '][' + uid + '][delete]=1' ); if (table === 'pages' && top.TYPO3.Backend.NavigationContainer.PageTree) { top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree.defer(500); @@ -212,7 +212,7 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func var title = $anchorElement.data('title'); var performPaste = function () { var url = '&CB[paste]=' + table + '%7C' + uid - + '&CB[pad]=normal&prErr=1&uPT=1' + + '&CB[pad]=normal' + '&redirect=' + ContextMenuActions.getReturnUrl(); top.TYPO3.Backend.ContentContainer.setUrl( @@ -253,4 +253,4 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func }; return ContextMenuActions; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/beuser/Classes/ViewHelpers/IssueCommandViewHelper.php b/typo3/sysext/beuser/Classes/ViewHelpers/IssueCommandViewHelper.php index 9de4fd6b01b2..53c666f27869 100644 --- a/typo3/sysext/beuser/Classes/ViewHelpers/IssueCommandViewHelper.php +++ b/typo3/sysext/beuser/Classes/ViewHelpers/IssueCommandViewHelper.php @@ -15,7 +15,6 @@ namespace TYPO3\CMS\Beuser\ViewHelpers; */ use TYPO3\CMS\Backend\Utility\BackendUtility; -use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper; use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface; @@ -51,11 +50,7 @@ class IssueCommandViewHelper extends AbstractViewHelper */ public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) { - /** @var BackendUserAuthentication $beUser */ - $beUser = $GLOBALS['BE_USER']; $urlParameters = [ - 'prErr' => 1, - 'uPT' => 1, 'redirect' => $arguments['redirectUrl'] ?: GeneralUtility::getIndpEnv('REQUEST_URI') ]; if (isset($arguments['parameters'])) { diff --git a/typo3/sysext/beuser/Classes/ViewHelpers/RemoveUserViewHelper.php b/typo3/sysext/beuser/Classes/ViewHelpers/RemoveUserViewHelper.php index 262fd5ccb4cc..3cbab50fad0d 100644 --- a/typo3/sysext/beuser/Classes/ViewHelpers/RemoveUserViewHelper.php +++ b/typo3/sysext/beuser/Classes/ViewHelpers/RemoveUserViewHelper.php @@ -73,8 +73,6 @@ class RemoveUserViewHelper extends AbstractViewHelper $urlParameters = [ 'cmd[be_users][' . $backendUser->getUid() . '][delete]' => 1, - 'prErr' => 1, - 'uPT' => 1, 'redirect' => GeneralUtility::getIndpEnv('REQUEST_URI') ]; $url = BackendUtility::getModuleUrl('tce_db', $urlParameters); diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index b8b3440bf928..add520cec7af 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -8753,10 +8753,8 @@ class DataHandler /** * Print log error messages from the operations of this script instance - * - * @param string $redirect Redirect URL (for creating link in message) */ - public function printLogErrorMessages($redirect) + public function printLogErrorMessages() { $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('sys_log'); $queryBuilder->getRestrictions()->removeAll(); diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst new file mode 100644 index 000000000000..571190e77585 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst @@ -0,0 +1,45 @@ +.. include:: ../../Includes.txt + +=========================================================== +Breaking: #82629 - Removed tce_db options "prErr" and "uPT" +=========================================================== + +See :issue:`82629` + +Description +=========== + +The two options `prErr` ("print errors") and `uPT` ("update page tree"), usually set via GET/POST +when calling TYPO3's Backend endpoint `tce_db` (DataHandler actions within the TYPO3 Backend), +have been removed, and are now automatically evaluated when the endpoint is called. + +The option `prErr` added possible errors to the Message Queue. The option `uPT` triggered an update +of the pagetree after a page-related action was made. + +Both options are dropped as the functionality is enabled by default. + +The corresponding methods have been adjusted: +* `TYPO3\CMS\Core\DataHandling\DataHandler->printLogErrorMessages()` does not need a method argument anymore. +* The public property `TYPO3\CMS\Backend\Controller\SimpleDataHandlerController->prErr` is removed +* The public property `TYPO3\CMS\Backend\Controller\SimpleDataHandlerController->uPT` is removed + + +Impact +====== + +Calling `tce_db` with any of the two options has no effect anymore. + + +Affected Installations +====================== + +Installations with third-party extensions accessing the entrypoint `tce_db` or calling +`DataHandler->printLogErrorMessages()` via PHP. + + +Migration +========= + +Remove any of the parameters in the PHP code and everything will continue to work as before. + +.. index:: Backend, PHP-API, FullyScanned \ No newline at end of file diff --git a/typo3/sysext/filelist/Resources/Public/JavaScript/ContextMenuActions.js b/typo3/sysext/filelist/Resources/Public/JavaScript/ContextMenuActions.js index def7f5fe0726..d2d70dd02a49 100644 --- a/typo3/sysext/filelist/Resources/Public/JavaScript/ContextMenuActions.js +++ b/typo3/sysext/filelist/Resources/Public/JavaScript/ContextMenuActions.js @@ -145,7 +145,7 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func var title = $anchorElement.data('title'); var performPaste = function () { top.TYPO3.Backend.ContentContainer.setUrl( - top.TYPO3.settings.FileCommit.moduleUrl + '&prErr=1&uPT=1&CB[paste]=FILE|' + top.rawurlencode(uid) + '&CB[pad]=normal&redirect=' + ContextMenuActions.getReturnUrl() + top.TYPO3.settings.FileCommit.moduleUrl + '&CB[paste]=FILE|' + top.rawurlencode(uid) + '&CB[pad]=normal&redirect=' + ContextMenuActions.getReturnUrl() ); }; if (!$anchorElement.data('title')) { @@ -186,7 +186,6 @@ define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], func + '&file['+ mode + '][0][data]=' + top.rawurlencode(uid) + '&file['+ mode + '][0][target]=' + top.rawurlencode(target) + '&redirect=' + ContextMenuActions.getReturnUrl() - + '&prErr=1' ); }; ContextMenuActions.dropMoveInto = function (table, uid) { diff --git a/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php b/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php index 5236f36b31c3..3a713f4fee04 100644 --- a/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php +++ b/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php @@ -117,4 +117,10 @@ return [ 'Breaking-82572-RDCTFunctionalityRemoved.rst', ], ], + 'TYPO3\CMS\Core\DataHandling\DataHandler->printLogErrorMessages' => [ + 'maximumNumberOfArguments' => 0, + 'restFiles' => [ + 'Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst', + ], + ], ]; diff --git a/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php b/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php index 211a63d480b7..998e15f5ab34 100644 --- a/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php +++ b/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php @@ -194,6 +194,15 @@ return [ 'Breaking-82572-RDCTFunctionalityRemoved.rst', ], ], - + 'TYPO3\CMS\Backend\Controller\SimpleDataHandlerController->prErr' => [ + 'restFiles' => [ + 'Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst', + ], + ], + 'TYPO3\CMS\Backend\Controller\SimpleDataHandlerController->uPT' => [ + 'restFiles' => [ + 'Breaking-82629-TceDbOptionsPrErrAndUPTRemoved.rst', + ], + ], // Deprecated public properties ]; diff --git a/typo3/sysext/recordlist/Classes/RecordList.php b/typo3/sysext/recordlist/Classes/RecordList.php index 513ff20a86a8..01f011c3d3d2 100644 --- a/typo3/sysext/recordlist/Classes/RecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList.php @@ -380,7 +380,7 @@ class RecordList extends AbstractModule if (isset($cmd['pages'])) { BackendUtility::setUpdateSignal('updatePageTree'); } - $tce->printLogErrorMessages(GeneralUtility::getIndpEnv('REQUEST_URI')); + $tce->printLogErrorMessages(); } } // Initialize the listing object, dblist, for rendering the list: -- GitLab