Bug #76063
closedforeign_table and the foureign_uid
0%
Description
I have a problem and I'm not sure whether it's a bug.
I have a table named "Berufe" and a second one named "Subbranche".
The tables are imported from another database.
My problem is the uid field.
The foreign_table_where config is working but TYPO3 try to get the UID in the subbranche table.
#TCA from Berufe
'subbranche_uid' => array( 'exclude' => 0, 'label' => 'Subbranche', 'config' => array( 'type' => 'select', 'renderType' => 'selectSingle', 'foreign_table' => 'tx_crm_domain_model_subbranche', 'foreign_table_where' => 'AND tx_crm_domain_model_subbranche.subbranche_uid=###REC_FIELD_subbranche_uid### ', 'minitems' => 0, 'maxitems' => 1, ), ),
Is there a way to define another uid field for this foreign_table?
Or is there another solution?
Files
Updated by Jan Schröder almost 8 years ago
tx_crm_domain_model_subbranche
tx_crm_domain_model_berufe
Backend (Problem)
Updated by Stephan Großberndt almost 8 years ago
- Status changed from New to Rejected
This is the tracker for bugs in the TYPO3 core, not a support channel for extension development.
What you describe is not a problem with the core but with your extensions TCA configuration.
Please head over to https://forger.typo3.org/slack register and ask for help in the #typo3-cms channel instead.