Actions
Bug #27957
closedTCA tree somehow causes fatal error when using in inline record (IRRE)
Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2011-07-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello folks!
When using the following configuration for
a select field rendered as tree, it's neither
possible to expand inline records, nor to create
new inline records, because the page renderer,
called through the AJAX request, throws an
exception - also mentioned below.
'included_categories' => array( 'exclude' => 1, 'label' => 'LLL:EXT:hype_store/Resources/Private/Language/locallang_db.xml:tx_hypestore_domain_model_discount.included_categories', 'config' => array( 'type' => 'select', 'foreign_table' => 'tx_hypestore_domain_model_category', 'MM' => 'tx_hypestore_relation_discount_category', 'MM_opposite_field' => 'discounts', 'MM_match_fields' => array( 'exclude' => 0 ), 'minitems' => 0, 'maxitems' => 999999, 'renderMode' => 'tree', 'treeConfig' => array( 'parentField' => 'parent_category', 'appearance' => array( 'expandAll' => TRUE, 'showHeader' => TRUE ), ), ), )
The error thrown (ajax response) is...
#1284906026: Language and character encoding are not set.
... which occurs in the file class.t3lib_pagerenderer.php in line 1795.
If I remove the "TCA tree configuration" everything works. The tree also
works, if the record is opened directly. If opened as inline record,
the described behaviour occurs.
Files
Actions