[Tickets #7125] Adding a contact from a mail doesn't work when the use_shares is enabled on a user private address book

bugs at horde.org bugs at horde.org
Tue Jul 29 10:37:27 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7125
------------------------------------------------------------------------------
  Ticket             | 7125
  Created By         | yann.rouillard at jouy.inra.fr
  Summary            | Adding a contact from a mail doesn't work when the
                     | use_shares is enabled on a user private address book
  Queue              | Turba
  Version            | 2.2.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


yann.rouillard at jouy.inra.fr (2008-07-29 06:37) wrote:

I tried to enable the "add contact" link displayed next to email  
address on the mail display window by configuring the add_source pref  
in imp:

$_prefs['add_source'] = array(
     'value' => 'localsql',
     'locked' => false,
     'shared' => true,
     'type' => 'implicit'
);

The icon link is properly displayed but each time I try to add a  
contact I have the following error message:

   Invalid address book: localsql

Indeed, the cfgSources variables doesn't contain 'localsql':

(
     [a8e4f1725402983caa2742ae4c932ac3] => Array
         (
             [title] => Carnet d'adresses de yrouillard
             [type] => share
             [params] => Array
                 (
                     [persistent] =>
                     [username] => horde
                     [password] => 123456
                     [socket] => /var/run/mysqld/mysqld.sock
                     [protocol] => unix
                     [database] => horde
                     [charset] => UTF8
                     [splitread] =>
                     [phptype] => mysql
                     [table] => turba_objects
                     [config] => Array

I workarounded the bug by disabling "use_shares" in the localsql  
source configuration.

Is this a bug or did I not properly configured turba ?







More information about the bugs mailing list