Project

General

Profile

Actions

Bug #55502

closed

TCA: Adding a select entry after non-existing entry raises exception

Added by Andreas Wolf about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2014-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When adding a select item with ExtensionManagementUtility::addTcaSelectItem(), various pre-conditions are checked. One of them is if the select item after which the new item should be added exists. If not, an exception is raised. With poorly written TCA, this might be a problem (e.g. if another extension which supplies this item is not installed).

The proposal is to just add the item at the end in this case and log the missing item.

Actions

Also available in: Atom PDF