6.0.0-RC7
6/27/26

[#4915] Adding entry from no-export addressbook to contact list
Summary Adding entry from no-export addressbook to contact list
Queue Turba
Queue Version 2.1.3
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester Otto.Stolz (at) uni-konstanz (dot) de
Created 1/18/07 (7100 days ago)
Due
Updated 6/13/07 (6954 days ago)
Assigned 1/18/07 (7100 days ago)
Resolved 2/16/07 (7071 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
4510 Otto (dot) Stolz (at) uni-konstanz (dot) de Comment #4 Reply to this comment
Any chance that your name field is a composite field?
No. Excerpt from sources.php:



$cfgSources['localsql'] = array(

     'title' => _("My Address Book"),

...

     'map' => array(

         '__key' => 'object_id',

         '__owner' => 'owner_id',

         '__type' => 'object_type',

         '__members' => 'object_members',

         '__uid' => 'object_uid',

         'name' => 'object_name',

         'email' => 'object_email',

         'alias' => 'object_alias',

         'homeAddress' => 'object_homeaddress',

         'workAddress' => 'object_workaddress',

         'homePhone' => 'object_homephone',

         'workPhone' => 'object_workphone',

         'cellPhone' => 'object_cellphone',

         'fax' => 'object_fax',

         'title' => 'object_title',

         'company' => 'object_company',

         'notes' => 'object_notes',

         'pgpPublicKey' => 'object_pgppublickey',

         'smimePublicKey' => 'object_smimepublickey',

         'freebusyUrl' => 'object_freebusyurl'

     ),

     'search' => array(

         'name',

         'email',

         'alias'

     ),

     'strict' => array(

         'object_id',

         'owner_id',

         'object_type',

     ),

     'export' => true,

     'browse' => true,

     'use_shares' => false,

);



$cfgSources['localldap'] = array(

     'title' => _("E-Mail directory Uni Konstanz"),

...

     'map' => array(

         '__key'     => 'dn',

         'name'      => 'cn',

         'email'     => 'mail',

     ),

     'search' => array(

         'name',

         'email',

     ),

     'strict' => array(

         'dn'

     ),

...




99 Jan Schneider State ⇒ No Feedback
 
2512 Jan Schneider Comment #3 Reply to this comment
Any chance that your name field is a composite field?
411 Chuck Hagenbuch Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
Works fine for me with HEAD; the code is reorganized somewhat compared 
to FW_3, but that's about all. Can someone with a working FW_3 install 
test?
112 Otto (dot) Stolz (at) uni-konstanz (dot) de Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Adding entry from no-export addressbook to contact list
Queue ⇒ Turba
State ⇒ Unconfirmed
Reply to this comment
$cfgSources['localldap'] = array(...

     'export' => false,

     'browse' => false

);

Permissions set for 'localldap':

   Array ( [type] => matrix.  [default] => 6 )

   Array ( )



If a hit from a search in 'localldap' is selected, and then the Add 
(to a contact list in the personal address book) link is activated, 
Turba says: "Successfully added 1 contact(s) to list.", and still does 
not add the contact to the list.



Including a reference to a contact with a contact list does not 
constitute an export from the original address book, hence, this 
operation should be possible for contacts from any and all address 
books (provided the user has read, or show, permission on the contact, 
of course).



Regarding the message, Turba should ?suit the action to the word, the 
word to the action?, as Hamlet says.

Saved Queries