Issue Bug Rejected

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

Andreas Wolf 01/31/14, 11:49 updated 01/31/14, 11:52

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.