Bug #88252

Route Results are not available via TypoScript

Added by Benni Mack 4 months ago. Updated 4 months 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:

Related issues

Related to TYPO3 Core - Bug #88928: routeEnhancers and GP conditions (TS) not working New 2019-08-07

Associated revisions

Revision d619ecfc (diff)
Added by Benni Mack 4 months 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 4 months 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 4 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 4 months 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 4 months ago

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

#4 Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed

#5 Updated by Henri Nathanson 16 days ago

  • Related to Bug #88928: routeEnhancers and GP conditions (TS) not working added

Also available in: Atom PDF