6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/29/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6046] _save in lib/Horde/Kolab/XML/contact.php fails on address book import
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ \ /.__ .__..__. [__) >< | \| |[__] | / \|__/|__|| |
Comment
> i am using kolab-2.1 (debian unstable) and horde-webmail-1.1rc1 > > > > error: > > when importing a simple CSV address book (LASTNAME, FIRSTNAME, EMAIL) > into turba (using kolab driver), the following error occurs (the > given line number is not correct as it refers to the already patched > and commented out code): > > > > Notice: Undefined index: full-name in > /usr/local/share/_horde-versions_/horde-webmail-1.1-rc1-netzwerkteam/lib/Horde/Kolab/XML/contact.php on line > 395 > > > > the error occurs in this code snippet: > > > > <snip> > > foreach ($emails as $email) { > > $email = trim($email); > > if (!empty($email)) { > > $new_email = array('display-name' => > $object['name']['full-name'], > > 'smtp-address' => $email); > > $object['email'][] = $new_email; > > } > > } > > </snap> > > > > reason: > > when using the example 'kolab' source in turba's sources.php the > 'full-name' key is not an available key in the imported abook object. > > > > solution/workaround: > > a patch is attached that might only be regarded as a workaround. > probably the 'map' array of cfgSources['kolab'] should be evaluated > instead... (which tells you how to generate a person's 'full-name'). > > > >
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