Project

General

Profile

Actions

Bug #77663

closed

UserTSConfig options.pageTree.altElementBrowserMountPoints with a non existing pid throws exception

Added by Alex Kellner over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you are using the User TSConfig altElementBrowserMountPoints, you can enable crosslinking to not allowed pages.
But if you are defining a non-existing pid (or if someone deletes a defined page), an error is shown:

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

Our TsConfig example:

options {
    pageTree {
        altElementBrowserMountPoints = 1, 2, 9999999
    }
}

TYPO3 7.6.10

Actions #1

Updated by Gerrit Code Review over 7 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/49669

Actions #2

Updated by Georg Ringer over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49673

Actions #4

Updated by Georg Ringer over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF