6.0.0-alpha12
6/7/25

[#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 01/18/2007 (6715 days ago)
Due
Updated 06/13/2007 (6569 days ago)
Assigned 01/18/2007 (6715 days ago)
Resolved 02/16/2007 (6686 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/13/2007 10:18:45 AM 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'

     ),

...




02/16/2007 09:04:09 AM Jan Schneider State ⇒ No Feedback
 
01/19/2007 12:25:25 AM Jan Schneider Comment #3 Reply to this comment
Any chance that your name field is a composite field?
01/18/2007 11:18:04 PM 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?
01/18/2007 02:29:11 PM 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