Closed sgrossberndt closed 6 years ago
In \TYPO3\CMS\Recordlist\Browser\FileBrowser::renderFilesInFolder() an error is shown by the plugin for
\TYPO3\CMS\Recordlist\Browser\FileBrowser::renderFilesInFolder()
$uriBuilder = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Routing\UriBuilder::class); // Create link to showing details about the file in a window: $Ahref = (string)$uriBuilder->buildUriFromRoute('show_item', [ 'type' => 'file', 'table' => '_FILE', 'uid' => $fileObject->getCombinedIdentifier(), 'returnUrl' => GeneralUtility::getIndpEnv('REQUEST_URI') ]);
This happens as well in \TYPO3\CMS\Backend\Controller\BackendController::__construct():
\TYPO3\CMS\Backend\Controller\BackendController::__construct()
$this->pageRenderer->addInlineSetting('ShowItem', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('show_item')); $this->pageRenderer->addInlineSetting('RecordHistory', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('record_history')); $this->pageRenderer->addInlineSetting('NewRecord', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('db_new')); $this->pageRenderer->addInlineSetting('FormEngine', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('record_edit')); $this->pageRenderer->addInlineSetting('RecordCommit', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('tce_db')); $this->pageRenderer->addInlineSetting('WebLayout', 'moduleUrl', (string)$uriBuilder->buildUriFromRoute('web_layout'));
although these routes exist in typo3/sysext/backend/Configuration/Backend/Routes.php
typo3/sysext/backend/Configuration/Backend/Routes.php
Still on v0.2.36?
😬
:D
Thx for confirming my test cases then :wink:
:-D
In
\TYPO3\CMS\Recordlist\Browser\FileBrowser::renderFilesInFolder()
an error is shown by the plugin forThis happens as well in
\TYPO3\CMS\Backend\Controller\BackendController::__construct()
:although these routes exist in
typo3/sysext/backend/Configuration/Backend/Routes.php