Project

General

Profile

Actions

Bug #24317

closed

Bug #21410: t3lib_BEfunc::getProcessedValue does not show record title for foreign elements for type group / db

TCA parameter "label_alt" does not resolve foreign table label for 1:n relations on group fields

Added by Thomas Deinhamer over 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2010-12-10
Due date:
% Done:

0%

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

Description

I have set 'label' to a text field called 'title' - works.
I have set 'label_alt' to a field of type 'group/db' and
'label_alt_force' to 'TRUE' - does not work.

Instead of displaying the label field of the other table
the raw value (the record's uid) is shown.

The record gets listed this way in the backend:
"My record's title, 23"

Instead of 23 the relation should get resolved to the
record of the other table and the label-field's value should be shown.

I'll post the TCA as additional information here,
the field 'client' is the one which doesn't get resolved.
Instead only the id of the record is shown.

I think this behaves correct if using a field
of type 'select' instead of 'group'.

$TCA['tx_hypeshowcase_domain_model_project'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:hype_showcase/Resources/Private/Language/locallang_db.xml:tx_hypeshowcase_domain_model_project',
'label' => 'title',
'label_alt' => 'client',
'label_alt_force' => TRUE,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Configuration/TCA/Icons/project.png',
'dividers2tabs' => TRUE,
),
);
(issue imported from #M16716)


Files

records.jpg (166 KB) records.jpg Navi , 2011-07-06 13:00
Actions #1

Updated by Thomas Deinhamer about 13 years ago

Hi all!

Can this be considered as bug and move into trunk and branches 4.4 and 4.3 as well?

Thanks!

Actions #2

Updated by Koopa about 13 years ago

Confirmed for Typo3 4.5.2 this feature does not work either.

Correction: Does not work on some system fields like 'pid' or 'cruser_id'. After inspection, it does seem to work on custom added fields.

Actions #3

Updated by Navi almost 13 years ago

Hi,

I have the same problem in a way that some records are shown fine, but others are not, see the screenshot.

Thema's are shown by title, but doelgroep and onderwerpen are by uid.

Any idea?

Actions #4

Updated by Oliver Hader over 12 years ago

  • Target version changed from 4.5.4 to 4.5.6
Actions #5

Updated by Chris topher over 12 years ago

  • Target version changed from 4.5.6 to 4.5.8
Actions #6

Updated by Ernesto Baschny about 12 years ago

  • Target version changed from 4.5.8 to 4.5.12
Actions #7

Updated by Benni Mack over 11 years ago

  • Parent task set to #21410

Duplicate of #21410

Actions #8

Updated by Georg Ringer over 9 years ago

  • Status changed from New to Resolved
  • Is Regression set to No

as #21410 has been resolved and is being a duplicate, this should be fine now as well.

if still valid for your in 6.2, please feel free to reopen the issue!

Actions #9

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF