#27957TCA tree somehow causes fatal error when using in inline record (IRRE)
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.