Project

General

Profile

Actions

Bug #92471

closed

condition contentObject["pid"] not working in variant

Added by Grégory Duchesnes about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-10-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

TYPO3 and Form 10.4.9, using the following variants


        variants:
          -
            identifier: hide-benefs
            condition: 'contentObject["pid"] in [36]'
            renderingOptions:
              enabled: false

results in

(1/1) Symfony\Component\ExpressionLanguage\SyntaxError

Variable "contentObject" is not valid around position 1 for expression `contentObject["pid"] in [36]`.

other conditions work


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #86196: Centralize ExpressionLanguage Registration via APIClosedSusanne Moog2018-09-07

Actions
Actions

Also available in: Atom PDF