[turba] default source seems to be switching after a "search"

Chris Stromsoe cbs at cts.ucla.edu
Wed Dec 6 14:46:32 PST 2006


I documented this as bug #4743, with a patch to fix it. I added a check to 
browse.php before the $driver is set, to reset $source to default_dir if 
it isn't a search and the current $source is not browsable.

-Chris

On Tue, 5 Dec 2006, Chris Stromsoe wrote:

> I'm testing an update to 2.1.3.  I have two sources configured, an sql 
> source and an ldap source.  The sql source is set up as a personal 
> directory.  The ldap source is a shared directory and is not browsable 
> or exportable.  I have default_dir set to the sql source.  The 
> preference is locked.
>
> If I search against the ldap source and then click on browse, I get back 
> the error:
>
>  Your default address book is not browseable.
>
> and can't browse.  If I log out and log back in, I can browse again. 
> If I search again but select the sql source this time, I can browse 
> again.
>
> Either the error message is wrong and should not be referring to the 
> "default" address book but instead to the last address book used, or the 
> behavior is wrong and browse is auto-selecting the last source used 
> instead of the default address book.
>
> My 2.0 install always browses against the default directory (sql 
> source), regardless of searches.
>
>
> -Chris
> -- 
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>


More information about the turba mailing list