6.0.0-beta1
7/5/25

[#6565] When using an combined+saved field as dn a copy/move between addressbooks will fail
Summary When using an combined+saved field as dn a copy/move between addressbooks will fail
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester horde (at) ssn (dot) at
Created 04/04/2008 (6301 days ago)
Due
Updated 04/04/2008 (6301 days ago)
Assigned
Resolved 04/04/2008 (6301 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/04/2008 12:03:05 PM Jan Schneider Comment #2
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
04/04/2008 02:52:51 AM horde (at) ssn (dot) at Comment #1
Priority ⇒ 1. Low
New Attachment: turba_GRL_DN_CopyMove_Browse.php.diff Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ When using an combined+saved field as dn a copy/move between addressbooks will fail
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
turba/lib/Views/Browse.php

contains a bug in handling combined and saved fields as dn when moving 
Entries between LDAP-Addressbooks.

Attached a little patch that fixes the bug.



proconditions to reproduce:

2 LDAP-Addressbooks

in sources.php:

'name' => array('fields' => array('jobtitle', 'firstname', 'lastname'),

                         'format' => '%s %s %s',

                         'attribute' => 'cn'),

Problem is in the function run() in section move when building the 
attributes array. A map-entry which is an array is always ignored even 
if it contains an attribute-tag.



regards

Lukas




Saved Queries