Project

General

Profile

Actions

Bug #17214

closed

[4.1.1] Foreign values are not always resolved in list view

Added by Michael Knabe over 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-04-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you have a table, containing a field from a foreign table and this field be the label, it's not resolved in the list view. Instead of the value, the UID is shown. As soon as you use another field as the label, the resolving works fine. And if you edit an entry the right value is shown too
In 4.0 it worked. But not in 4.1.1. I'm not sure about 4.1

tca.php:

$TCA["tx_foreign_user"] = Array (
...
"foreign_field" => Array (
...
"config" => Array (
"type" => "select",
"foreign_table" => "tx_foreign_table",
...
)
),
...
);
$TCA["tx_foreign_table"] = Array (
...
"content" => Array (
...
"config" => Array (
"type" => "input",
...
)
),
...
);

ext_tables.php:
$TCA["tx_foreign_user"] = Array (
"ctrl" => Array (
...
//If you leave this out or change to another field name
//foreign_field will be resolved fine
'label' => 'foreign_field',
...
),
...
);
$TCA["tx_foreign_table"] = Array (
"ctrl" => Array (
...
'label' => 'content',
...
),
...
);
...
(issue imported from #M5441)


Files

typobug.JPG (31.3 KB) typobug.JPG Administrator Admin, 2007-04-17 16:42
Actions #1

Updated by Christian Kuhn about 15 years ago

This was fixed somewhere between 4.1.1 and 4.1.7

Actions

Also available in: Atom PDF