[TYPO3-core] FYI #16553: Bug: tcaTree does not work for relation fields without TCA Definition.

Steffen Ritter info at rs-websystems.de
Mon Nov 29 14:05:05 CET 2010


Hey list,
This is an SVN patch request.

Type: Bug

Bugtracker references:
http://bugs.typo3.org/view.php?id=16553

Branches:
trunk

Problem:
a configuration for f.e.: pages did not work:
   'config' => array (
         'type' => 'select',
         'renderMode' => 'tree',
         'subType' => 'db',
         'foreign_table' => 'pages',
         'size' => '5',
         'treeConfig' => array(
             'parentField' => 'pid'
         )
     )

This has been due to the fact, that the TCA of the 
parentField/childrenField has been evaluated. Pid does not hav any 
TCA-Definition --> it did not do anything.

I changed the behavoiur: If no TCA Definition is found, the field is 
evaluated as plain "foreign_key" in TYPO3 specific mode (CSV allowed ;))


regards
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfc16553.patch
Type: text/x-patch
Size: 880 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101129/04342b9e/attachment.bin>


More information about the TYPO3-team-core mailing list