Actions
Bug #90078
closedgetTSFE().type Condition Error
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
Updated by Simon Gilli over 4 years ago
- Assignee set to Simon Gilli
Trying currently to reproduce this issue together with the reporter.
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
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
Updated by Simon Gilli over 4 years ago
- Status changed from Accepted to Closed
This issue should be fixed now see related bug.
Actions