Issue Bug Rejected

#76063foreign_table and the foureign_uid

Jan Schröder 05/06/16, 12:10 updated 05/06/16, 15:15

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.