Actions
Bug #55502
closedTCA: Adding a select entry after non-existing entry raises exception
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.
Updated by Andreas Wolf almost 11 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