Project

General

Profile

Actions

Bug #85431

closed

Using System > Access on a page and then deleting this page leads to exceptions

Added by Wolfgang Klinger over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-06-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Uncaught TYPO3 Exception

The first exception is:

Argument 1 passed to TYPO3\CMS\Backend\Template\Components\DocHeaderComponent::setMetaInformation() must be of the type array, boolean given, called in /var/www/core/typo3/sysext/beuser/Classes/Controller/PermissionController.php on line 134 

TypeError thrown in file
/var/www/core/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php in line 65.

if you fix this in \TYPO3\CMS\Beuser\Controller\PermissionController::initializeAction
(readPageAccess returns a boolean and not an array)

        $pageInfo = BackendUtility::readPageAccess($this->id, ' 1=1');
        if ($pageInfo !== false) {
            $this->pageInfo = $pageInfo;
        }

you get the next one:

Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, null given, called in /var/www/core/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php on line 690 

TypeError thrown in file
/var/www/core/typo3/sysext/core/Classes/Imaging/IconFactory.php in line 113.

34 TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord("pages", NULL, "small")


Files

Schermata.png (70 KB) Schermata.png Riccardo De Contardi, 2018-08-03 21:55
Actions

Also available in: Atom PDF