Opened 4 years ago
Closed 4 years ago
#1486022 closed Bugs (fixed)
LDAP Address book fails to show user details
| Reported by: | msurdi | Owned by: | |
|---|---|---|---|
| Priority: | 3 | Milestone: | 0.3-stable |
| Component: | Addressbook | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: | andre.rodier@… |
Description
When browsing the addressbook after having set up an unique ldap server you can see on the left side a list of the users in the LDAP but after clicking on the user's name you get the error "The requested contact was not found".
If you set up a second LDAP server, then another section appears where you can select the LDAP you want to browse. In this situation everything works fine.
The problem seems to be that when you have just one LDAP server the LDAP selection section doesn't show and there is no default setting in the code.
Attachments (1)
Change History (4)
comment:1 Changed 4 years ago by alec
- Milestone changed from later to 0.3-stable
comment:2 Changed 4 years ago by msurdi
Changed 4 years ago by amaramrahul
Patch for fixing problem when contacts are not displayed if only one ldap address book is configured
comment:3 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from new to closed
Fixed in [6855ce6f].

Additionally, the problem seems to originate on the file:
./program/steps/addressbook/func.inc
On line 1
As there is no "_source " parameter present. If you append it to the url (ie: http://mywebmail.com/roundcube/?_task=addressbook&_source=myldapaddressbook) it works, so, I suppose it can be fixed on the server side or on the javascript/html templates.