Skip to content
Snippets Groups Projects
Commit d619ecfc authored by Benni Mack's avatar Benni Mack Committed by Benjamin Franzke
Browse files

[BUGFIX] Allow TypoScript conditions to access PageArguments

In order to access resolved route parts by enhancers,
the TypoScript RequestWrapper should allow to access
the PageArguments object.

This way, it is easier to migrate existing conditions like

[globalVar = GP:singlepartner > 0]

to

[request.getPageArguments().get('singlepartner') > 0]

Resolves: #88252
Releases: master, 9.5
Change-Id: I6abed5badac342c88d2b40d38ecf1ea632f321d7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60637


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarHelmut Hummel <typo3@helhum.io>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent 2a09a4a9
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment