[TYPO3-core] RFC: Bug #7874: Page lock not released when error page was generated

Oliver Hader oliver at typo3.org
Mon Mar 17 19:12:56 CET 2008


FYI: Committed to SVN TYPO3_4-2 (rev. 3454)

olly


Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> When an error page like "No template found" was generated, the page 
> locks are not released and will also block the next request. This can 
> also happen when an extension sends a redirect header and exits the 
> script processing.
> 
> Solution:
> Add a destructor to t3lib_lock which will automatically release the lock 
> when the locking instance gets destroyed.
> 
> Comments:
> In tslib_fe I changed the destruction of $lockObj (which is passed by 
> reference) to be assigned to null - unsetting a reference only removes 
> the reference, but does not change the original value.
> Thanks to Christian Kuhn for pointing out this issue.
> 
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=7874
> 
> Branch: Trunk
> 
> 
> olly
-- 
Oliver Hader
TYPO3 Core Team


More information about the TYPO3-team-core mailing list