Project

General

Profile

Actions

Bug #19925

closed

IFSUB and friends are ignoring the l18n_cfg field of the page record

Added by Stefan Galinski about 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2009-01-27
Due date:
% Done:

100%

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

Description

The l18n_cfg field is used to disable the default language record or any alternative language records which haven't a page translation. At the first glance it seems to work like expected, because the expected page records are not visible in the menu. If we have a closer look at this part, we will find out that it's badly ignored for the record states IFSUB and friends. This causes that a page record which has no visible sub pages is marked with the IFSUB state.

How to reproduce?

1) Create the following page structure:

- first parent page
- first sub page
- second parent page
- first sub page

2) Add a translation for each of the parent records
3) Set the l18n_cfg field to each of the sub pages (it's not really important which setting or combintation)
4) Create a menu with IFSUB states applied
5) Test the result in the frontend
(issue imported from #M10285)


Files

typo3_10285.patch (1.67 KB) typo3_10285.patch Administrator Admin, 2009-01-27 16:25
10285_4.3.1.patch (1.67 KB) 10285_4.3.1.patch Administrator Admin, 2010-01-15 15:56

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #22190: HMENU with IFSUB, CURIFSUB and hidden subpagesClosed2010-02-25

Actions
Related to TYPO3 Core - Bug #17635: subpages l18n_cfg is ignored in JSMENUClosed2007-09-28

Actions
Has duplicate TYPO3 Core - Bug #19374: IFSUB is not handling the language selection properlyClosedChristian Kuhn2008-09-24

Actions
Has duplicate TYPO3 Core - Bug #23700: IFSUB is still not handling the language selection properlyClosedChris topher2010-10-10

Actions
Actions

Also available in: Atom PDF