6.0.0-alpha12
6/7/25

[#12840] Turba fails on editing initial ldap entries
Summary Turba fails on editing initial ldap entries
Queue Turba
Queue Version 4.1.2
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester ralf.lang (at) ralf-lang (dot) de
Created 11/15/2013 (4222 days ago)
Due
Updated 03/21/2014 (4096 days ago)
Assigned 11/18/2013 (4219 days ago)
Resolved 03/21/2014 (4096 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/21/2014 12:19:33 PM Jan Schneider State ⇒ No Feedback
 
11/18/2013 08:11:11 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
This would delete all values of an attribute, and not just the first 
one like the old code. From the comments it looks like this is what we 
want anyway, but it may have unwanted side-effects. Why is the current 
not working?
11/15/2013 10:34:03 AM Ralf Lang Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Turba fails on editing initial ldap entries
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Initial ldap addressbook entries created by 3rd parties may not behave 
like turba expects.
This may lead to problems when saving entries with some empty fields.

As of openldap 2.4.26, the following trap prevents the entry from being saved:

/usr/share/php5/PEAR/www/horde/turba/lib/Driver/Ldap.php line 412/413

Solution:

change line 411
                $oldval[$key] = array();

I do not yet fully understand the implications of this change.
If no comments follow within reasonable time, I will probably go ahead 
and commit this.

Saved Queries