[Kde-pim] \\N line break question
Divan Santana
divan at s-tainment.co.za
Sat Apr 7 20:20:58 BST 2012
On Saturday, 7 April 2012 13:10:08 Kevin Krammer wrote:
> > I'm wondering if the bug is with kaddressbook or with
> > akonadi_davgroupware.
> > I think it's not Zimbra since my Android phone doesn't have an issue,
> > although that syncs via MFE not Dav...
>
> This could be a problem in our vcard parser, i.e. it should treat \N as a
> new line sequence but it doesn't.
Ok it seems to be the case as you've said.
> > If I enable debugging in akonadi console and view the contacts information
> >
> > being sync'ed I see this:
> >
> >
> > * 464383 FETCH (UID 464383 REV 0 REMOTEID "https://mail.s-
> > tainment.co.za/dav/divan at s-
> > tainment.co.za/Contacts/8e548460-3843-4e39-9d71-19c7dad93864:522525.vcf"
> > MIMETYPE "text/directory" COLLECTIONID 1899 SIZE 367 DATETIME "05-Apr-2012
> > 21:09:30 +0000" REMOTEREVISION "\"548729-548729\"" FLAGS () PLD:RFC822
> > {367} BEGIN:VCARD EMAIL:firstname at lastname.org FN:Lastname\, Firstname
> > N:Lastname;Firstname;;; NOTE:This is line one of the notes section\\NThis
> > is line two of the notes section\\NThis is line three of the notes
>
> Can you try to export that to a vcard from within Zimbra and check how it
> looks when it has not been processed by CardDav, the resource and so on?
I couldn't export to anything except csv, but managed to email the contact
which effectively exported it as csv, excellent. This confirms that the problem
is likely not with akonadi and rather with kaddressbook.
$ cat Downloads/Lastname\,\ Firstname.vcf
BEGIN:VCARD
VERSION:3.0
FN:Lastname\, Firstname
N:Lastname;Firstname;;;
EMAIL;TYPE=internet:firstname at lastname.org
NOTE:This is line one of the notes section\NThis is line two of the notes
section\NThis is line three of the notes section\NThis is line four of the
notes section
REV:2012-04-05T23:09:44Z
UID:8e548460-3843-4e39-9d71-19c7dad93864:522525
END:VCARD
Thanks very much Kevin for the useful feedback! I'll update the bug at
https://bugs.kde.org/show_bug.cgi?id=297541 with the details.
--
Divan Santana
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list