Bug #88252

Route Results are not available via TypoScript

Added by Benni Mack about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
Start date:
2019-04-30
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Associated revisions

Revision d619ecfc (diff)
Added by Benni Mack about 1 month ago

[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: TYPO3com <>
Tested-by: Guido Schmechel <>
Tested-by: Benjamin Franzke <>
Reviewed-by: Guido Schmechel <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Helmut Hummel <>
Reviewed-by: Frank Naegler <>
Reviewed-by: Benjamin Franzke <>

Revision 55e53523 (diff)
Added by Benni Mack about 1 month ago

[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/+/60662
Tested-by: TYPO3com <>
Tested-by: Benjamin Franzke <>
Reviewed-by: Benjamin Franzke <>

History

#1 Updated by Gerrit Code Review about 2 months ago

  • Status changed from New 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/+/60637

#2 Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 9.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/+/60662

#3 Updated by Benni Mack about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF