Summary | LDAP Driver does extra work |
Queue | Turba |
Queue Version | 1.2.2 |
Type | Enhancement |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) |
Requester | vincent.fiack (at) laposte (dot) net |
Created | 05/06/2004 (7702 days ago) |
Due | |
Updated | 08/26/2004 (7590 days ago) |
Assigned | 05/17/2004 (7691 days ago) |
Resolved | 08/26/2004 (7590 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Stalled
specific about *how* it broke? Error messages? Anything?
I was able to restore the address lists functionality by partially
reverting the change in turba/lib/Sources.php between versions
1.36.2.8 and 1.36.2.9
Diff to restore address book's address lists functionality:
--- turba/lib/Source.php.orig Fri Aug 13 10:25:42 2004
+++ turba/lib/Source.php Mon Aug 16 11:26:20 2004
@@ -213,7 +213,7 @@
require_once TURBA_BASE . '/lib/Object.php';
$list = &new Turba_List();
foreach ($remapped_results as $attributes) {
- $list->insert(new Turba_Object($this, $attributes));
+ $list->insert($this->getObject($attributes['__key']));
}
$list->sort($sort_criteria, null, null, $sort_direction);
State ⇒ Resolved
slipped through the cracks in terms of being backported until now.
Priority ⇒ 2. Medium
Assigned to
Priority ⇒ 2. Medium
Queue ⇒ Turba
Type ⇒ Enhancement
State ⇒ New
We use turba with ldap (openldap at first, a custom server now).
It seems that each time we search an entry from the web interface, it
lauches many queries :
- a first one to get the user list corresponding to the search
- a request by user to fetch its attributes (!)
(those attributes have already been fetched in the first query, so
why ask for it again ??)
It looks like the first query is called by "search()", and the other
ones by "read()"