Actions
Bug #23152
closed[openDocs] Exception is thrown if a record isn't found
Start date:
2010-07-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since the spriteIconCall there is an exception thrown if the record is Null. Before it worked but with warnings.
There are cases where a record doesn't exists anymore. If openDocs is installed, it try to fetch the record
$record = t3lib_BEfunc::getRecordWSOL($table, $uid);
The problem now is, that the menu rendering of opendocs dies with the exception, which blocks the complete backend and makes it impossible to continue.
Solution is easy: check the record, and if not present, return with empty menu entry.
(issue imported from #M15082)
Files
Updated by Steffen Kamper over 14 years ago
Committed to svn
4_4 rev 8164
trunk rev 8165
Actions