Bug #40795

Task #40095: Move core to namespaces

Exception in TCA tree after Namespace changes

Added by Mario Rimann almost 9 years ago. Updated over 2 years ago.

Should have
FormEngine aka TCEforms
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


When trying to create a new "News Category" record in the list module, the following Exception is thrown:

#1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Backend\Tree\AbstractTree::setNodeRenderer() must be an instance of
t3lib_tree_renderer_Abstract, instance of TYPO3\CMS\Core\Tree\TableConfiguration\ExtJsArrayTreeRenderer given, called in
C:\xampp\htdocs\currenttruk\typo3\sysext\backend\Classes\Form\Element\TreeElement.php on line 91 and defined in
C:\xampp\htdocs\currenttrunk\typo3\sysext\backend\Classes\Tree\AbstractTree.php line 7

This happens with current TYPO3-Core from Git (6.0-dev) and current Git-Version from tx_news (but seems to be a bug in the core, since the extension only tries to use a field-type from TCA).


Updated by Claus Due almost 9 years ago

Note, this appears to happen because t3lib_tree_renderer_Abstract is no longer part of the inheritance tree for \TYPO3\CMS\Backend\Tree\AbstractTree.

It will no longer be possible to check for implementations of parent classes and interfaces (in a way that works equally on pre-6.0 and 6.0). Sorry guys.


Updated by Tymoteusz Motylewski almost 9 years ago

this is indeed bug in core
TYPO3\CMS\Backend\Tree\AbstractTree::setNodeRenderer [1]
is defined as:
public function setNodeRenderer(\t3lib_tree_renderer_Abstract $nodeRenderer) {

but it should use namespaced class name



Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14508


Updated by Georg Ringer almost 9 years ago

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

Updated by Christian Kuhn almost 9 years ago

  • Parent task set to #40095

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF