#23152[openDocs] Exception is thrown if a record isn't found
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.