[Tickets #9728] Re: hook prefs_init

bugs at horde.org bugs at horde.org
Tue Mar 29 17:13:01 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9728
------------------------------------------------------------------------------
  Ticket             | 9728
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | hook prefs_init
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2011-03-29 17:13) wrote:

ok. I think there is some confusion here.  You say that you are  
setting the default_dir pref, right?  That pref only sets the value  
that specifies what address book is used for adding/importing  
contacts.  The setting that specifies what address books are *visible*  
is the "addressbooks" pref. Two different prefs.

Also, the hook you posted does not contain the code I specified to you  
earlier that would be necessary to ensure the localsql source was  
properly initialized, this is why it is failing to find the default  
share, it hasn't been added to the cfgSources array yet. You need to  
run the sources through Turba::getConfigFromShares() as I mentioned on  
the mailing list (and you seem to have said you used in an earlier  
comment).






More information about the bugs mailing list