Summary | vCard export via CardDAV interface contains properties with empty values violating the spec |
Queue | Turba |
Queue Version | 4.1.2 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | mrubinsk (at) horde (dot) org |
Requester | ralf (at) kruedewagen (dot) de |
Created | 10/22/2013 (4228 days ago) |
Due | |
Updated | 06/05/2014 (4002 days ago) |
Assigned | |
Resolved | 01/27/2014 (4131 days ago) |
Milestone | |
Patch | No |
commit aecb91e6b93e4e3feb770afa5b6498000de3f667
Author: Jan Schneider <jan@horde.org>
Date: Wed Jun 4 11:03:17 2014 +0200
Fix not outputting empty properties to CarDAV (
Bug #12782).turba/lib/Application.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/aecb91e6b93e4e3feb770afa5b6498000de3f667
commit 6248e91edd4417920c9dc59cc6c99f04246d1fa7
Author: Jan Schneider <jan@horde.org>
Date: Wed Jun 4 11:03:17 2014 +0200
Fix not outputting empty properties to CarDAV (
Bug #12782).turba/lib/Application.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/6248e91edd4417920c9dc59cc6c99f04246d1fa7
unfortunately not for cardDAV.
Please see here for details:
https://github.com/rfc2822/davdroid/issues/226
Please see here for details:
https://github.com/rfc2822/davdroid/issues/226
commit f4174df99db92e02a1a8137219978eb5579a4201
Author: Jan Schneider <jan@horde.org>
Date: Mon Mar 31 11:31:20 2014 +0200
[mjr] Don't output empty properties for CardDav requests (
Bug #12782).turba/docs/CHANGES | 1 +
turba/package.xml | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/f4174df99db92e02a1a8137219978eb5579a4201
commit 738ce25ef601182e4c009f2f34f9155bdba38952
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Mon Jan 27 16:56:48 2014 -0500
Don't output empty properties for CardDav requests.
Bug: 12782turba/lib/Api.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/738ce25ef601182e4c009f2f34f9155bdba38952
State ⇒ Resolved
commit 4840a591ea959d2775640a7e16ee113209aac50c
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Mon Jan 27 16:56:48 2014 -0500
Don't output empty properties for CardDav requests.
Bug: 12782turba/lib/Api.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/4840a591ea959d2775640a7e16ee113209aac50c
the 1970-01-01 birthday I get an 1970-01-01 ANNIVERSARY when no date
specified.
Version installed: Horde 5.1.5
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ vCard export via CardDAV interface contains properties with empty values violating the spec
Type ⇒ Bug
Priority ⇒ 2. Medium
####################
BEGIN:VCARD
VERSION:3.0
UID:20131018104100.uYYOysmgwqS6tRPiYvf9wA1@domain.de
NICKNAME:
X-EPOCSECONDNAME:
BDAY:
X-ANNIVERSARY:
X-SPOUSE:
PHOTO:
TZ;VALUE=text:
EMAIL;TYPE=INTERNET:
TEL;TYPE=HOME,VOICE:
TEL;TYPE=FAX,HOME:
TEL;TYPE=WORK,VOICE:
TEL;TYPE=CELL,VOICE:
TEL;TYPE=FAX:
TEL;TYPE=PAGER:
TITLE:
ROLE:
LOGO:
CATEGORIES:Business
NOTE:Eine Notiz
URL:
X-WV-ID:
N:ABC AG;;;;
FN:ABC AG
ORG:ABC AG;
ADR;TYPE=HOME:;;;;;;
ADR;TYPE=WORK:;;;;;;
END:VCARD
####################
There are many properties like BDAY (birthday) which have no value
assigned. This confuses some CardDAV sync clients like the well known
CardDAV-Sync app http://dmfs.org/carddav/. This sync clients sets
"01.01.1970" as birthday, which results in getting many wrong calendar
entries on Jan 1st.
According to discussions with the app developer and my own research on
common vCard file style, fields like "BDAY" must have a proper
property value assigned if they are given at all. The ABNF does
explicitly say that the value must be "date-value" or
"date-time-value" (not optional, i.e. not empty).
See specs:
http://tools.ietf.org/html/rfc2426#page-31
http://tools.ietf.org/html/rfc6350
Remark: Manual vCard exports of the address book do not contain those
properties with empty values. So, this is probably just related to the
CardDAV interface.
So, please just export properties which have a value (like the regular
address book export already does).