Bug #90078

getTSFE().type Condition Error

Added by Rene Tobias Tobias 10 months ago. Updated 9 months ago.

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

0%

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

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


Related issues

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

History

#1 Updated by Simon Gilli 10 months ago

  • Assignee set to Simon Gilli

Trying currently to reproduce this issue together with the reporter.

#2 Updated by Markus Klein 10 months 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

#3 Updated by Markus Klein 10 months 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

#4 Updated by Simon Gilli 9 months ago

  • Status changed from Accepted to Closed

This issue should be fixed now see related bug.

Also available in: Atom PDF