#1488365 closed Bugs (invalid)
Problem with contact selection at create mail step
| Reported by: | oandarilho01 | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.7.2 |
| Component: | Addressbook | Version: | 0.7.1 |
| Severity: | normal | Keywords: | address,contacts |
| Cc: |
Description
Hi.
I was using roundcube-0.6 until some minutes ago, when I updated to 0.7.1. After update from 0.5.4 the feature of selecting contacts from the icon 'Show Address Book' at the compose message screen is failing. The miniwindow that shows up with the addresses is not assembling correctly. By stopping the cursor on top of an entry, it appears as
Name <>
i.e. with no e-mail address.
The error log registers this:
PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/localhost/htdocs/roundcube/program/include/main.inc on line 1121
OBS: now, at 0.7.1, the line number changed to 1155
That main.inc defines format_email_recipient function around line 1121(1155). This function receives $email variable and searching for this function name on other files I've found out that in this 0.6 version we have:
.../roundcube/program/steps/addressbook/mailto.inc: $mailto[] = format_email_recipient($emails[0], $recname?);
while in 0.5.4 version we have:
.../roundcube/program/steps/addressbook/mailto.inc: $mailto[] = format_email_recipient($recemail?, $recname?);
I tried to simply edit the new mailto.inc correspondent line to conform with the old, but it didn't work, of course :)
I appreciate any help or tip to solve this.
Thanks in advance.
Change History (2)
comment:1 Changed 16 months ago by alec
- Milestone changed from later to 0.7.2
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 14 months ago by dmitry.dubna
We have the same problem with RoundCube version 0.7.1.
The solution is to update plugin compose_addressbook to version 5.0b3.
Here is link to download:

This is issue of a plugin that we don't support. Ask plugin's author.