[Tickets #4724] last_login pref not updated with file cache enabled

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Dec 1 05:59:59 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4724
-----------------------------------------------------------------------
 Ticket             | 4724
 Created By         | pascal at vmfacility.fr
 Summary            | last_login pref not updated with file cache enabled
 Queue              | Horde Groupware
 Version            | 1.0-RC3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


pascal at vmfacility.fr (2006-12-01 05:59) wrote:

I am using horde groupware webmail edition rc1 (no queue is defined for
this appl in bug manager).

I am using a composite driver with ldap and cyrus as auth backends.

I have noticed that last_login, and possibly other kind of prefs, is not
updated in the hordePerson ldap attribute when I have the caching system
enabled.

I checked in the Auth code that getAuth() is called upon login into horde
and so I guess last_login pref is updated in the session, but it is not
saved on the ldap backend.

All other prefs accessible from the applications and horde options are
saved and restored OK. It seems to me that all session preferences that
are set internally by horde are not saved. I did not find why while
looking at the code but I saw that pref can be cached and depend on a
dirty bit to be effectively saved in the backend. So I disabled the horde
cache and now my last login is saved and restored.

So i might be a bug related to cache behaviour. I used the filesystem
cache driver:
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['gc'] = 86400;
$conf['cache']['driver'] = 'file';





More information about the bugs mailing list