Project

General

Profile

Actions

Feature #104321

closed

Provide method to handle argument mapping exceptions in ActionController

Added by Torben Hansen 5 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2024-07-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Extbase extension authors usually work with actions and arguments. When an action has a required argument and the argument is not provided, a RequiredArgumentMissingException is thrown. Extension authors however only have limited possibilities (e.g. overwrite internal processRequest() function) to catch those exceptions. The same applies to extbase property mapping, when the PersistentObjectConverter throws a TargetNotFoundException exception, when a given entitiy is not found.

Extbase extension authors should have the possiblity to handle those exceptions either manually or by configuration, so the exception is not thrown but a dedicated response can be generated. To do so, a new function should be available in ActionController, which extension authors can overwrite if required.


Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Feature #90133: Extbase: configurable 404 handling for missing action parametersNew2020-01-16

Actions
Related to TYPO3 Core - Bug #104828: config.contentObjectExceptionHandler sends 200 HTTP Status and regular cache headersNew2024-09-05

Actions
Actions #1

Updated by Torben Hansen 5 months ago

  • Related to Feature #90133: Extbase: configurable 404 handling for missing action parameters added
Actions #2

Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 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/+/85138

Actions #3

Updated by Gerrit Code Review 5 months ago

Patch set 2 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/+/85138

Actions #4

Updated by Gerrit Code Review 5 months ago

Patch set 3 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/+/85138

Actions #5

Updated by Gerrit Code Review 5 months ago

Patch set 4 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/+/85138

Actions #6

Updated by Gerrit Code Review 5 months ago

Patch set 5 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/+/85138

Actions #7

Updated by Gerrit Code Review 4 months ago

Patch set 6 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/+/85138

Actions #8

Updated by Gerrit Code Review 3 months ago

Patch set 7 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/+/85138

Actions #9

Updated by Garvin Hicking 3 months ago

  • Related to Bug #104828: config.contentObjectExceptionHandler sends 200 HTTP Status and regular cache headers added
Actions #10

Updated by Gerrit Code Review 3 months ago

Patch set 8 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/+/85138

Actions #11

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

Actions #12

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

Actions #13

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

Actions #14

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

Actions #15

Updated by Torben Hansen 2 months ago

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

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF