Actions
Bug #23397
closedThrow exception instead of dying in enableFields() function
Start date:
2010-08-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When you call
tslib_cObj::enableFields($table);with an unknown table, TYPO3 dies with the following error message:
NO entry in the $TCA-array for the table "blabla". This means that the function enableFields() is called with an invalid table name as argument.
Instead of calling die() an Exception should be thrown. The backtrace can give useful information, where the function is called.
(issue imported from #M15490)
Files
Actions