Project

General

Profile

Actions

Feature #104321

open

Provide method to handle argument mapping exceptions in ActionController

Added by Torben Hansen 15 days ago. Updated 4 days ago.

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

0%

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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Torben Hansen 15 days ago

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

Updated by Gerrit Code Review 15 days 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 14 days 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 13 days 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 13 days 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 12 days 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 days 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

Also available in: Atom PDF