Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing categories/groups in vCard export #4766
Reported by @alecpl on 16 Feb 2015 08:14 UTC as Trac ticket #1490277
When using the sql addressbook we assign a group to a contact the internal representation of vCard data is not updated. The same when the assignment is being deleted. This is the reason why contact export contains invalid CATEGORIES.
A solution to this could be CATEGORIES entry update in export.inc (prepare_for_export() function).
Comment by @alecpl on 16 Feb 2015 08:28 UTC
Oh, I see the code is already there (in prepare_for_export), but it does not update existing CATEGORIES entry. So, we should fix this here and maybe remove CATEGORIES when the vcard data is saved into database (or on contact import?).