Project

General

Profile

Actions

Bug #23736

closed

Condition with globalVar TSFE does not care about page language overlay

Added by Patrick Lobacher over 13 years ago. Updated over 3 years ago.

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

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Image you have an additional field (in my case a checkbox) within the pages table, named tx_ext_field.

This is a page language overlay field (and defined so in the localconf.php), so you can enter different values for the page and the translation - which works perfect in the backend form (and database table as well of course).

If you now want to create a condition like:

[globalVar = TSFE:page|tx_ext_field = 1]

It fires ONLY if the value is entered in the page properties of the default language and doesn't care about the setting in the language overlay record.

In the same script the following line gives the correct value back:

something.data = TSFE:page|tx_ext_field

So I think that the TSFE calculation within the condition doesn't take account of the page language overlay while the stdWrap property "data" does as expected.

(issue imported from #M15999)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #89285: TYPO3 regenerates cached page every page reload for specific TypoScriptClosed2019-09-26

Actions
Related to TYPO3 Core - Bug #98126: Page caching does not work as expected on multi language sitesClosedStefan Bürk2022-08-12

Actions
Actions

Also available in: Atom PDF