Project

General

Profile

Actions

Task #52836

closed

Let itemsProcFunc throw Exceptions

Added by Francois Suter over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend User Interface
Target version:
Start date:
2013-10-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:

Description

The latest version of patch https://review.typo3.org/#/c/24066/ will throw an exception inside an itemsProcFunc call for backend forms. However \TYPO3\CMS\Backend\Form\FormEngine is not able to catch exceptions.

This patch adds an exception catching mechanism in \TYPO3\CMS\Backend\Form\FormEngine::procItems().

This not really a feature, but it enables developers to throw exceptions in itemsProcFunc, which may be nice for reporting problems. So I labeled it a "Task" ;-)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #52285: CategoryCollection must handle multiple category fields per tableClosedFrancois Suter2013-09-26

Actions
Actions

Also available in: Atom PDF