6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13941] LDAP List of Contacts fails with missing contact
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /. ,.__ . . |__| >< \./ [ __|\/| | |/ \ | [_./| |
Comment
>> The actual bug is that there shouldn't be an exception leading to a >> fatal error. Can you please provide the full error message and >> backtrace? > > In Turba_Driver_Ldap function _read() is called with an none existing dn. > @ldap_read returns no (false) result and ldap_error is "No such object" > -> throw new Turba_Exception(sprintf(_("Read failed: (%s) %s"), > ldap_errno($this->_ds), ldap_error($this->_ds))) > > > Turba_Driver's getObjects() has no exception handling and > Turba_Object_Group's listMembers() catches only Horde_Exception_NotFound > > > This results in a red notification box: "Failed to browse list" and > no existing list members are displayed > > quick fix: > catching a Turba_Exception also (in listMembers) leads in a > "There is 1 contact in this list that is not viewable to you" > witch would be correct > > But: Maybe the Turba_Driver_Ldap should throw a > Horde_Exception_NotFound in case of "No such object" error > >> But to answer your original question: it's sufficient to copy the >> $_objectOptions setting from the Kolab driver to the LDAP driver. > This would be nice to have in one of the next turba releases
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers