Project

General

Profile

Actions

Bug #52672

closed

TCA: using renderMode = tree, the treeConfig => rootUid cant get substituted with Page TSconfig

Added by Claus Harup about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2013-10-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Having:

'config' => array(
        'type' => 'select',
        'size' => 10,
        'foreign_table' => 'pages',
        'MM' => 'tx_tcshop_product_mm',
        'MM_insert_fields' => array('ident' => 'category'),
        'MM_match_fields' => array('ident' => 'category'),
        'maxitems' => 9999,
        'minitems' => 0,
        'renderMode' => 'tree',
        'treeConfig' => array(
            'expandAll' => 1,
            'parentField' => 'pid',
            'rootUid' => ??????,
            'maxLevels' => 5,
            'appearance' => array(
                'showHeader' => TRUE,
                'nonSelectableLevels' => 0',                
            ),
        ),
    ),

The rootUid = ?????, how should we be able to substitute by TSconfig when the core (sysext/core/Classes/Tree/TableConfiguration/TreeDataProviderFactory.php) says:

$treeConfiguration = $tcaConfiguration['treeConfig'];
if (isset($treeConfiguration['rootUid'])) {
        $dataProvider->setRootUid(intval($treeConfiguration['rootUid']));
}

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #47040: Append treeConfig to allowOverrideMatrix whitelistClosedStefan Froemken2013-04-08

Actions
Related to TYPO3 Core - Bug #72961: TCA: using renderMode = tree, the treeConfig => rootUid can't get substituted with Page TSconfigClosed2016-01-27

Actions
Actions #1

Updated by Stefan Neufeind almost 11 years ago

Could it be this is meanwhile solved with #47040?

Actions #2

Updated by Claus Harup almost 11 years ago

Yes - that did the trick! :-)

Actions #3

Updated by Stefan Neufeind almost 11 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF