Project

General

Profile

Actions

Bug #90078

closed

getTSFE().type Condition Error

Added by Rene Tobias over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-01-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hey, when i login into TYPO3 BE i get an error (in error log) for FE condition defined in Typoscript Setup: [getTSFE().type 100]. I use this condition for news RSS display.

I am attaching full error in attachment bellow.

I manage to fix this problem with that: [getTSFE() && getTSFE().type 100]

Is this a bug or wanted behaviour?

I am using TYPO3 9.5.13 and PHP 7.2


Files

TYPO3_condition_error.txt (18.8 KB) TYPO3_condition_error.txt Rene Tobias, 2020-01-10 09:25

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87021: Using "getTSFE().beUserLogin == 1" as expression in an TypoScript condition leads to an error in the Symfony Expression LanguageClosed2018-11-28

Actions
Actions #1

Updated by Simon Gilli over 4 years ago

  • Assignee set to Simon Gilli

Trying currently to reproduce this issue together with the reporter.

Actions #2

Updated by Markus Klein over 4 years ago

  • Status changed from New to Accepted
  • Assignee deleted (Simon Gilli)
  • Target version deleted (Candidate for patchlevel)

In BE context getTSFE() is not set and causes this issue. See related issues

Actions #3

Updated by Markus Klein over 4 years ago

  • Related to Bug #87021: Using "getTSFE().beUserLogin == 1" as expression in an TypoScript condition leads to an error in the Symfony Expression Language added
Actions #4

Updated by Simon Gilli over 4 years ago

  • Status changed from Accepted to Closed

This issue should be fixed now see related bug.

Actions

Also available in: Atom PDF