Bug 340830

Summary: Categories are saved as akonadi:?tag=1
Product: [Frameworks and Libraries] Akonadi Reporter: Stefan Brüns <stefan.bruens>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jjm
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefan Brüns 2014-11-10 19:35:26 UTC
According to RFC 6350:

6.7.1. CATEGORIES
   Purpose:  To specify application category information about the
      vCard, also known as "tags".
   Value type:  One or more text values separated by a COMMA character
      (U+002C).
   Cardinality:  *
   ABNF:
     CATEGORIES-param = "VALUE=text" / pid-param / pref-param
                      / type-param / altid-param / any-param
     CATEGORIES-value = text-list
   Example:
           CATEGORIES:TRAVEL AGENT
           CATEGORIES:INTERNET,IETF,INDUSTRY,INFORMATION TECHNOLOGY

On reading a VCARD, a tag entry should be added to the database. On saving a VCARD, the internal tag should be substituted with its value.

The tag is an implementation detail, and only valid for the local akonadi database.

Same happens when importing/exporting vcards, "Categories: Foo" is ignored on import, export uses "akonadi:?tag=.."

Reproducible: Always
Comment 1 Jonathan Marten 2014-11-10 20:24:41 UTC

*** This bug has been marked as a duplicate of bug 332358 ***