[TYPO3-german] Bug in Typo3 6.1 (Call to a member function isInWebMount())?

Christian Sporer csporer at gmail.com
Tue Aug 18 18:21:52 CEST 2015


Ich habe exakt das gleiche Problem in Typo3 6.2. Es scheint wohl dann aufzutreten, wenn eine Extension ein Tree Traversal macht. Ich denke es sollte im Typo3-Core ein entsprechender NULL-Check hinzugefügt werden, da die Funktionalität in mehreren Plugins verwendet wird.

Folgendermaßen konnte ich dies lösen:

typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php

In dieser Codestelle:

while ($crazyRecursionLimiter > 0 && ($row = $this->getDataNext($res, $subCSSclass))) {
			if (!$GLOBALS['BE_USER']->isInWebMount($row['uid'])) {
				// Current record is not within web mount => skip it
				continue;
			}

einen NULL-Check hinzugefügt:

while ($crazyRecursionLimiter > 0 && ($row = $this->getDataNext($res, $subCSSclass))) {
			if ($GLOBALS['BE_USER'] != NULL && !$GLOBALS['BE_USER']->isInWebMount($row['uid'])) {
				// Current record is not within web mount => skip it
				continue;
			}


More information about the TYPO3-german mailing list