Actions
Bug #77663
closedUserTSConfig options.pageTree.altElementBrowserMountPoints with a non existing pid throws exception
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