[Tickets #2529] Problems with "cn", "name" and ldap (patch)
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Jan 27 12:32:03 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2529
-----------------------------------------------------------------------
Ticket | 2529
Updated By | rkean at keanconsulting.com
Summary | Problems with "cn", "name" and ldap (patch)
Queue | Turba
Version | FRAMEWORK_3
State | Feedback
Priority | 1. Low
Type | Enhancement
Owners |
-----------------------------------------------------------------------
rkean at keanconsulting.com (2006-01-27 12:32) wrote:
> Can the original contributor fix the edit issue?
Well... I learned more than I had intended to about the Horde framework, but
I finally figured it out...
The problem with edit issue stems from the Turba_AbstractObject::setValue()
method. It ignores composite fields just like the
Turba_Driver::toDriverKeys() method.
This fixes it...
--- AbstractObject.php.orig 2006-01-27 15:30:08.000000000 -0500
+++ AbstractObject.php 2006-01-27 14:57:42.000000000 -0500
@@ -117,7 +117,8 @@
}
if (isset($this->driver->map[$attribute]) &&
- is_array($this->driver->map[$attribute]))
+ is_array($this->driver->map[$attribute]) &&
+ !isset($this->driver->map[$attribute]['attr'])) {
return false;
}
More information about the bugs
mailing list