Q: Can’t create address book categories by program
I have extended a Java program to create, update and delete address book entries in the OS X 10.10.1 caldav/carddav server (server version 4). I am using ez-vcard 0.9.6 to handle the vcards.
Every thing works fine, except the creation of categories.
I have tested three scenarios:
Case 1: The categories do not exist.
No matter if I create or update the vcard, no categories are created. If I later export
the vcard into a file the CATEGORIES entry is missing.
BEGIN:VCARD
VERSION:3.0
…
CATEGORIES:A,B,C
…
END:VCARD
Case 2: I do create the categories by hand (using my iphone)
No matter if I create or update the vcard. No vcard is showing up in one of the
categories.
Case 3: If I move the vcard using my iphone into a CATEGORY, it is displayed there. It also
contains that category in the vcard export file. If I later update the vcard, the contents
is updated in the full list and in the CATEGORY (as expected).
It looks that the CATEGORIES property is ignored by the server, when I send my vcard. What do I miss? Is there
another property needed? The CATEGORIES property is part of the PUT message.
Thanks for any idea.
Mac mini, OS X Yosemite (10.10.1)
Posted on Jan 19, 2015 3:15 AM