[Kolab-devel] [issue4700] Format peoblems
Bogomil Shopov
issues at kolab.org
Fri Jan 21 11:35:21 CET 2011
Hey,
Today I've spent more than 5h to find a bug into roundbcube mail and Kolab
integration and I think I found something, but I need your help;
Here is the an array (dumped):
==================================
*array*
'uid'=> string 'bcac139a46aca3e6d88d89936beeefbc' /(length=32)/
'body'=> string '' /(length=0)/
'categories'=> string '' /(length=0)/
'creation-date'=> int 1295548337
'last-modification-date'=> int 1295548337
'sensitivity'=> string 'public' /(length=6)/
'product-id'=> string 'Horde::Kolab' /(length=12)/
'given-name'=> string 'bogomil' /(length=7)/
'middle-names'=> string '' /(length=0)/
'last-name'=> string 'shopov' /(length=6)/
'full-name'=> string 'bogomil shopov' /(length=14)/
'prefix'=> string '' /(length=0)/
'suffix'=> string '' /(length=0)/
'free-busy-url'=> string '' /(length=0)/
'organization'=> string '' /(length=0)/
'department'=> string '' /(length=0)/
'job-title'=> string '' /(length=0)/
'nick-name'=> string '' /(length=0)/
'email'=>
*array*
0=>
*array*
'display-name'=> string 'bogomil shopov' /(length=14)/
'smtp-address'=> string 'bogomil at kkk.net' /(length=15)/
'uid'=> string '' /(length=0)/
'pgp-publickey'=> string '' /(length=0)/
'emails'=> string 'bogomil at kkk.net,bogomil at kkk2.net' /(length=33)/
'__type'=> string 'Object' /(length=6)/
'addr-home-type'=> string 'home' /(length=4)/
'addr-home-street'=> string '' /(length=0)/
'addr-home-locality'=> string '' /(length=0)/
'addr-home-postal-code'=> string '' /(length=0)/
'addr-home-region'=> string '' /(length=0)/
'addr-home-country'=> string '' /(length=0)/
====================================
Pay attention on emails part. Currently we have 2 email addresses.
After 'return $this->_xmldoc->dump_mem(true);' in XML.php refering to DOM.php
the XML becomes strange - See additional mail field (where is the problem)
Here is the XML file
+++++++++++++++++++++++++++++++
<?xml version="1.0"?>
<contact version="1.0">
<uid>bcac139a46aca3e6d88d89936beeefbc</uid>
<body></body>
<categories></categories>
<creation-date>2011-01-20T18:32:17Z</creation-date>
<last-modification-date>2011-01-20T18:32:41Z</last-modification-date>
<sensitivity>public</sensitivity>
<product-id>Horde::Kolab</product-id>
<name>
<given-name>bogomil</given-name>
<middle-names></middle-names>
<last-name>shopov</last-name>
<full-name>bogomil shopov</full-name>
<prefix></prefix>
<suffix></suffix>
</name>
<free-busy-url></free-busy-url>
<organization></organization>
<department></department>
<job-title></job-title>
<nick-name></nick-name>
<email>
<display-name>bogomil shopov</display-name>
<smtp-address>bogomil at kkk.net</smtp-address>
<uid></uid>
</email>
<email>
<display-name>bogomil shopov</display-name>
<smtp-address>bogomil at kkk2.net</smtp-address>
<uid></uid>
</email>
<email>
<display-name>bogomil shopov</display-name>
<smtp-address>Array</smtp-address>
<uid></uid>
</email>
<pgp-publickey></pgp-publickey>
</contact>
+++++++++++++++++++++++++++++++
----------
assignedto: wrobel
messages: 27454
nosy: bogo, wickert, wrobel
priority: urgent
status: unread
title: Format peoblems
______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4700>
______________________________________
More information about the devel
mailing list