Bug 238996 - Kaddressbook gets confused by XML element order in Kolab files
Summary: Kaddressbook gets confused by XML element order in Kolab files
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Kolab Resource (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 12:34 UTC by bugs
Modified: 2010-06-24 10:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2010-05-27 12:34:48 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

I'm writting on a synchronisation program to sync Android with Kolab and while writing the kolab.xml files containing the contact information, i noticed Kaddressbook sometimes not showing all contact information.

It turned out that, if between the </phone> and <email> there are other xml tags, Kaddressbook doesnt show all information of the contact that is in the XML file.

Maybe that is an issue of assuming a certain order of the elements and it might also occour in different element constellations.

Reproducible: Always

Steps to Reproduce:
Create a kolab contact with a tag inbetween phone and email, for example:
</phone>
<birthday>1970-12-24</birthday>
<email>

Actual Results:  
Kaddressbook does not show email adresses (maybe other information of that contact are also missing)

Expected Results:  
kaddressbook should ignore the element order and just parse all elements it supports and show them.
Comment 1 Volker Krause 2010-06-24 10:39:47 UTC
SVN commit 1142156 by vkrause:

While I'm at it, add a unit test for bug 238996, works fine.

BUG: 238996


 A             bug238996.vcf  
 A             bug238996.vcf.mime  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1142156