Task #88687

Configure extbase request handlers via PHP

Added by Alexander Schnitzler 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Start date:
2019-07-04
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

This patch removes the ability to configure extbase
request handlers via typoscript. This is done because
typoscript is too variable, i.e. the configuration may
change depending on the day, the hour and whatever
possibility typoscript offers when it comes to conditions.

The ability to configure request handlers does not vanish
but needs to be immutable and predictable at an early
stage of the runtime.

To achieve this, the configuration has to be put into the
file "EXT:Configuration/Extbase/RequestHandlers.php".

This patch is considered breaking as the configuration via
typoscript stops working immediately and the configuration
syntax slightly changed.

The easiest way to migrate to the new syntax is to have a
look at configuration files in core extensions.

With typoscript, it was also possible to override
configuration keys and therefore completely override
request handlers set by core extensions. This is no
longer possible and considered bad practice anyway.
A suitable request handler is now only determined by
its priority.

Associated revisions

Revision 00878d3c (diff)
Added by Alexander Schnitzler 7 months ago

[!!!][TASK] Configure extbase request handlers via PHP

This patch removes the ability to configure extbase
request handlers via typoscript. This is done because
typoscript is too variable, i.e. the configuration may
change depending on the day, the hour and whatever
possibility typoscript offers when it comes to conditions.

The ability to configure request handlers does not vanish
but needs to be immutable and predictable at an early
stage of the runtime.

To achieve this, the configuration has to be put into the
file "EXT:Configuration/Extbase/RequestHandlers.php".

This patch is considered breaking as the configuration via
typoscript stops working immediately and the configuration
syntax slightly changed.

The easiest way to migrate to the new syntax is to have a
look at configuration files in core extensions.

With typoscript, it was also possible to override
configuration keys and therefore completely override
request handlers set by core extensions. This is no
longer possible and considered bad practice anyway.
A suitable request handler is now only determined by
its priority.

Releases: master
Resolves: #88687
Change-Id: I915d2af221f76c1ee882761f2087b985e5584bb0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61226
Tested-by: TYPO3com <>
Tested-by: Anja Leichsenring <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

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/+/61226

#2 Updated by Gerrit Code Review 7 months 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/+/61226

#3 Updated by Gerrit Code Review 7 months 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/+/61226

#4 Updated by Gerrit Code Review 7 months 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/+/61226

#5 Updated by Anonymous 7 months ago

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

#6 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF