Bug #85431
closedUsing System > Access on a page and then deleting this page leads to exceptions
100%
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
Updated by Riccardo De Contardi about 6 years ago
- Category set to Backend User Interface
Steps to reproduce
1) create some pages, eg. as subpages of a known page, click on the page
2) go in Access module (and use it to change something, but I don't think it is important
3) use pagetree to delete the page (see the screenshot)
Results¶
- The list of page in the access module is not refreshed
- If you try to edit the page that has been just deleted, you got the exception
Suggest:¶
- remove the pagetree while in access module (but that would make the module less usable)
- or force a refresh of the module when a page is deleted.
Updated by Tymoteusz Motylewski about 6 years ago
- Sprint Focus set to On Location Sprint
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Riccardo De Contardi about 6 years ago
- File Schermata.png Schermata.png added
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Gerrit Code Review about 6 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57791
Updated by Paweł Rogowicz about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f308e66288ff24d59e734a5ce9517bcb895fe17c.
Updated by Benni Mack almost 6 years ago
- Status changed from Resolved to Closed