[TYPO3-core] RFC: Bug #8182: Fatal error on calling sysLog() of lock object if locking method is unknown

Oliver Hader oliver at typo3.org
Mon Apr 21 14:24:20 CEST 2008


This is a SVN patch request.

Problem:
If the front-end locking is set to an undefined method, e.g. 
"semaphoreVerySpecial", normally this should produce an entry in sysLog. 
But the $lockObj is not available since an exception was thrown there.

Solution:
Use t3lib_div::sysLog() instead.

Comments:
I'm going to commit this tomorrow (April 22) if nobody objects.

Bugtracker references:
http://bugs.typo3.org/view.php?id=8182

Branch: TYPO3_4-2


olly
-- 
Oliver Hader
TYPO3 Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008182.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080421/496fc857/attachment.bin 


More information about the TYPO3-team-core mailing list