Project

General

Profile

Actions

Bug #17911

closed

Unlike the default preview language, fields of additionalPreviewLanguages are shown if they are empty

Added by Helmut Hummel almost 17 years ago. Updated over 14 years ago.

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

0%

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

Description

If field of a translated record does contain a value in the default language, the content of this field is shown. If the field in default languge is empty, nothing is shown.

Simply add a language to options.additionalPreviewLanguages and look at a translated record.

This is done by a simple check in function renderDefaultLanguageContent:

if (strcmp($dLVal,''))

But this check is missing for additionalPreviewLanguages.

Solution:
Add this check for additionalPreviewLanguages , too
(issue imported from #M6932)


Files

bug_6932_additionalpreviewlanguage.diff (869 Bytes) bug_6932_additionalpreviewlanguage.diff Administrator Admin, 2007-12-12 01:02

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17337: options.additionalPreviewLanguages is showing the wrong record for table pagesClosedMartin Kutschker2007-05-28

Actions
Actions #1

Updated by Helmut Hummel almost 17 years ago

This is related to #17337

Actions #2

Updated by Ingo Renner almost 17 years ago

committed to SVN

Actions

Also available in: Atom PDF