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

Steffen Kamper steffen at sk-typo3.de
Mon Mar 17 13:11:08 CET 2008


"Oliver Hader" <oliver at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1205755050.14671.typo3-team-core at lists.netfielders.de...
> 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
>
>

+1 by reading and testing

vg  Steffen 




More information about the TYPO3-team-core mailing list