6.0.0-beta1
7/22/25

[#7125] Adding a contact from a mail doesn't work when the use_shares is enabled on a user private address book
Summary Adding a contact from a mail doesn't work when the use_shares is enabled on a user private address book
Queue Turba
Queue Version 2.2.1
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester yann.rouillard (at) jouy (dot) inra (dot) fr
Created 07/29/2008 (6202 days ago)
Due
Updated 07/29/2008 (6202 days ago)
Assigned
Resolved 07/29/2008 (6202 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/29/2008 11:50:53 AM Jan Schneider Comment #3
State ⇒ Not A Bug
Reply to this comment
Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.

Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
07/29/2008 10:38:47 AM yann (dot) rouillard (at) jouy (dot) inra (dot) fr Comment #2
New Attachment: sources.php Download
Reply to this comment
The turba sources.php file
07/29/2008 10:37:26 AM yann (dot) rouillard (at) jouy (dot) inra (dot) fr Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Adding a contact from a mail doesn't work when the use_shares is enabled on a user private address book
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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 ?




Saved Queries