Bug #92471
closedcondition contentObject["pid"] not working in variant
100%
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
Updated by Grégory Duchesnes about 4 years ago
Found a workaround if that can help someone :
condition: 'getTSFE().page["uid"] in [36]'
Updated by Georg Ringer about 4 years ago
- Status changed from New to Needs Feedback
Thanks for creating the issue. Can you tell me where you get the information that this condition would actually work?
Updated by Grégory Duchesnes about 4 years ago
Updated by Georg Ringer about 4 years ago
- Status changed from Needs Feedback to Accepted
thanks for the link. this has been accidently removed with https://github.com/TYPO3/TYPO3.CMS/commit/0ef9df9091cd16928c55eb8b83ca2d47c146a89e#diff-2576373e3f2ff117bf744c96fcc0b449L87
Updated by Gerrit Code Review about 4 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review about 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review about 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review almost 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review over 3 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Christian Kuhn over 3 years ago
- Related to Task #86196: Centralize ExpressionLanguage Registration via API added
Updated by Gerrit Code Review over 3 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Björn Jacob over 3 years ago
- TYPO3 Version changed from 10 to 11
- Sprint Focus set to Remote Sprint
Updated by Gerrit Code Review about 3 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review about 3 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review almost 3 years ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review over 2 years ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review over 2 years ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review over 2 years ago
Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66054
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73654
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 35fb43d227385a74cb3c3113351c20b95993ff81.