Project

General

Profile

Actions

Bug #76063

closed

foreign_table and the foureign_uid

Added by Jan Schröder almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-05-06
Due date:
% Done:

0%

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

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

Bildschirmfoto 2016-05-06 um 12.01.21.png (11.2 KB) Bildschirmfoto 2016-05-06 um 12.01.21.png tx_crm_domain_model_subbranche Jan Schröder, 2016-05-06 12:10
Bildschirmfoto 2016-05-06 um 12.02.41.png (14.7 KB) Bildschirmfoto 2016-05-06 um 12.02.41.png tx_crm_domain_model_berufe Jan Schröder, 2016-05-06 12:10
Bildschirmfoto 2016-05-06 um 12.06.40.png (15 KB) Bildschirmfoto 2016-05-06 um 12.06.40.png Backend (Problem) Jan Schröder, 2016-05-06 12:10
Actions #1

Updated by Jan Schröder almost 8 years ago

tx_crm_domain_model_subbranche

tx_crm_domain_model_berufe

Backend (Problem)

Actions #2

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.

Actions

Also available in: Atom PDF