[Tickets #4520] NEW: convert_imp_filters not working

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Oct 13 05:19:12 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4520
-----------------------------------------------------------------------
 Ticket             | 4520
 Created By         | dgehl at inverse.ca
 Summary            | convert_imp_filters not working
 Queue              | Ingo
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


dgehl at inverse.ca (2006-10-13 05:19) wrote:

Running convert_imp_filters.php generates the following error message

Oct 12 14:01:19 HORDE [error] [ingo] Failed retrieving prefs for : DB
Error: unknown error [on line 251 of
"/usr/share/pear/Horde/Prefs/sql.php"]

This is due to the fact that Ingo::getUser() returns an empty string
instead of the username which is currently migrated.


The following diff (inspired by the way convert_prefs_to_sql.php works)
fixes the problem:

44a45,47
> /* Initialize authentication backend. */
> $auth = &Auth::singleton($conf['auth']['driver']);
>
50a54,57
>     if (empty($user)) {
>         continue;
>     }
>
52a60,62
>     $auth->setAuth($user, array());
>     $_SESSION['ingo']['current_share'] = ':' . $user;
>





More information about the bugs mailing list