[TYPO3-core] RFC: #16353: Fatal error inside buildRepresentationForNode()
Georg Ringer
mail at ringerge.org
Thu Nov 11 19:18:36 CET 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=16353
Branches:
Trunk
Problem:
I just tested the new tcatree and got a fatal error.
my test-configuration inside my own extension:
-----------
'pages' => array (
'exclude' => 0,
'label' =>
'LLL:EXT:banner/locallang_db.xml:tx_banner_domain_model_banner.pages',
'config' => array (
'type' => 'select',
'foreign_table' => 'pages',
'foreign_table_where' => 'ORDER BY pages.uid',
'size' => 5,
'minitems' => 0,
'maxitems' => 20,
'renderMode' => 'tree',
'treeConfig' => array(
'parentField' => 'pid',
'appearance' => array(
'expandAll' => TRUE,
'showHeader' => TRUE,
)
)
)
),
------------
error: #1: PHP Catchable Fatal Error: Argument 2 passed to
t3lib_iconWorks::mapRecordTypeToSpriteIconClass(
Solution:
force array()
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error-tcatree.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101111/db0422e4/attachment.txt>
More information about the TYPO3-team-core
mailing list