6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/28/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11047] Kolab_Format is not creating/reading contact items
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..___.. .___\ / [__] | | [__ >< | | | |___| / \
Comment
>> Read/Write Kolab Contact Objects with any data in the 'phone' field fails >> when following the Kolab format specifications. >> >> Horde_Kolab_Format v1.1.1 accepts xml of this kind: >> >> <home1>0123 4567890</home1> >> >> although loading such an xml, results in >> ["phone"]=> NULL >> in the read object (i.e. the xml is not being read back correctly). >> >> >> The Kolab specifications for phone field of the body from the xml is: >> >> <phone> >> <type>home1</type> >> <number>0123 456790</number> >> </phone> >> >> reading or writing a structure like this results in an: >> PHP Fatal error: Uncaught exception 'Horde_Kolab_Format_Exception' >> with message 'XML type Horde_Kolab_Format_Xml_PhoneType not >> supported!' in /usr/share/php5/PEAR/Horde/Kolab/Format/Factory.php:175 >> > > > fixed! > > > > in Horde/Kolab/Format/Xml/Type/Composite/Phone.php > > { > protected $elements = array( > - 'type' => 'Horde_Kolab_Format_Xml_PhoneType', > - 'number' => 'Horde_Kolab_Format_Xml_String_MaybeMissing', > ); > } > > { > protected $elements = array( > + 'type' => 'Horde_Kolab_Format_Xml_Type_PhoneType', > + 'number' => 'Horde_Kolab_Format_Xml_Type_String_MaybeMissing', > ); > } > > >
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