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 #1

Updated by Andreas Wolf about 10 years ago

  • Status changed from Accepted to Rejected

I just realised that ExtensionManagementUtility did not find the complete list, not just a single item - and the case I described is already handled correctly. Therefore this issue can just be closed.

Actions

Also available in: Atom PDF