6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8366] vCard Parsing Errors with Property Groups
*
Your Email Address
*
Spam protection
Enter the letters below:
__..___ __ . .. . (__ [__ / `|\/|| | .__)[___\__.| ||/\|
Comment
> While attempting to import contacts exported from Apple's Address > Book I found a limitation of the vCard processing code. vCard allows > for single attributes to have multiple values: for example several > email addresses or multiple street addresses. This mechanism may be > accomplished using vCard Property Groups. The way to signify this is > to use a prefix on the field name such as "item1.", followed by > "item2.", etc. Horde Framework and Turba both expect all fields to > be only named for their field (such as "ADR" for address) and so miss > these fields with a prefix. The symptom is that fields with a prefix > get ignored. > > > > Here is an example vCard snippet: > > item1.ADR;type=HOME;type=pref:;;Attn\: Sharon Braunstein\nP.O. Box > 5396;Atlanta;GA;31107; > > > > I found at least two places where this needs to be modified: > > framework/iCalendar/iCalendar.php > > turba/lib/Driver.php > > > > From what I can tell Turba will not be able to store multiple > attribute values, but we should be able to at least parse one of them > to store. In this case the item1 address had a type of "HOME" and > the item2 had a type of "WORK" which can map safely into Turba.
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