Project

General

Profile

Actions

Bug #14578

closed

DB record disappears when language != default and Localization-View enabled

Added by old_beryllium over 19 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-02-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0rc1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If the language of a content-element is different from the default language-uid (0), the element is not displayed in the Localization-view if it doesn't have its "Transl. Orig." set.

To reproduce:
Create a page, create its translation. Go to List-view, enable Localization-view. Create a database-record (e.g. a news-item). The item is displayed. Now, click the Edit-icon of the item and select another language for it. The item is now vanished. You can view it again by disabling Localization-view though.

Possible workaround:
In file typo3/class.db_list_extra.inc, line 321:
Changte the $addWhere to:
$addWhere.=' AND ('.$TCA[$table]['ctrl']['languageField'].'<=0 OR
'.$TCA[$table]['ctrl']['transOrigPointerField'].'=0)';

This way, items with a different language, but without a 'parent' item are still shown. Problem with this solution is that the language isn't shown behind those items (normally it states 'Default' or 'All languages').
(issue imported from #M845)

Actions

Also available in: Atom PDF