[Tickets #13904] Re: Horde_Core 1.19.12 SQL SessionHandler does not work ( Reopen #13463)
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Mar 13 12:41:23 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13904
------------------------------------------------------------------------------
Ticket | 13904
Updated By | jcblanco at fi.upm.es
Summary | Horde_Core 1.19.12 SQL SessionHandler does not work (
| Reopen #13463)
Queue | Horde Groupware Webmail Edition
Version | 5.2.5
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
+New Attachment | horde_bug13904.patch.txt
------------------------------------------------------------------------------
jcblanco at fi.upm.es (2015-03-13 12:41) wrote:
As continuation of the BUG I've doing some tests with the SQL Session
Handler and found that adding a __destruct method to this object which
do a call to the close method al seems to work fine.
Now the SessionHandler/Storage/Sql does not have an specific
destructor and none is called, I've introduced one that is called
prior to the Db/Adapter/Base one and then the transaction is closed in
time.
I don't know if, even in this case, we can have a race condition in
which the Db/Adapter/Base object may be destroyed prior to the
SessionHandler/Storage/Sql, and then the error will be still there
I attach a patch with two changes, one is de mentioned before and one
for a simplified version of Core/Factory/Db.php
jcblanco at fi.upm.es (2015-03-13 12:41) uploaded: horde_bug13904.patch.txt
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=horde_bug13904.patch.txt&ticket=13904&fn=%2Fhorde_bug13904.patch.txt
More information about the bugs
mailing list