[TYPO3-irre] IRRE Problem overwriting title

Stefan Geith typo3dev2008.nospam1 at geithware.de
Thu Oct 1 17:12:02 CEST 2009


Hi IRRE-Fans,

I have a table named 'tx_family', that has an inline relation to table 
'tx_childs':

$TCA['tx_family'] = array (
// ...
'columns' => array (
'mychilds' => array (		
   'label' => 'LLL:EXT:family/locallang_db.xml:tx_childs',		
   'config' => array (
     'type' => 'inline',	
     'appearance' => Array('collapseAll'=>1, 'expandSingle'=>1, 
'newRecordLinkAddTitle'=>1, 'newRecordLinkPosition'=>'both'),	
     'foreign_table' => 'tx_childs',	
     'foreign_field' => 'tx_childs.familyid',	
     'foreign_sortby' => 'tx_childs.title',	
   )
),

When creating a new tx-childs-record within a family, it overwrites the 
titles of _all_ childs of this family with numbers - mostly with their 
uid's .... ?

If I remove the line
     'foreign_sortby' => 'tx_childs.title',	
all is ok, but the child-records in family are not ordered ...

Is this a known problem ?


/Stefan


More information about the TYPO3-project-irre mailing list