[Tickets #11047] Kolab_Format is not creating/reading contact items
bugs at horde.org
bugs at horde.org
Fri Mar 2 08:00:52 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11047
------------------------------------------------------------------------------
Ticket | 11047
Created By | alexander.haensch at ipc.uni-tuebingen.de
Summary | Kolab_Format is not creating/reading contact items
Queue | Kolab
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
alexander.haensch at ipc.uni-tuebingen.de (2012-03-02 08:00) wrote:
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
More information about the bugs
mailing list