[Evolution] Bug#740911: WebDAV: Evolution sends invalid REV field, DAViCal expects timestamp

Daniel Pocock daniel at pocock.pro
Thu Mar 6 06:42:18 UTC 2014


Package: evolution
Version: 3.4.4-3
Severity: serious

I mark this as serious because DAViCal no longer interoperates with
Evolution, the default contact/calendar client on the desktop.  Maybe
other servers are affected too, I just haven't tested any myself so far.

My DAViCal version is 1.1.1-1.  I also opened a bug against DAViCal in
case something needs to be fixed there:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740828

Evolution submits a vCard to DAViCal with a REV field like this:

    REV:"d3b07384d113edec49eaa6238ad5ff00"

In the RFCs it suggests it should be a time value and that Evolution may
be at fault:

     http://tools.ietf.org/html/rfc2426#section-3.6.4
     https://tools.ietf.org/html/rfc6350#section-6.7.4

DAViCal tries to put it in a timestamp column in PostgreSQL, where it is
rejected:

Query: QF: SQL error "22007" - ERROR: invalid input syntax for type
timestamp with time zone:  .......

Query: QF: UPDATE caldav_data SET caldav_data=:dav_data, dav_etag=:etag,
logged_user=:session_user, modified=:modified, user_no=:user_no,
caldav_type='VCARD' WHERE dav_name=:dav_name



If this is a fault in evolution, please confirm and advise whether the
bug 740828 against DAViCal should be closed.


Related issues:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740827
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699353



More information about the Pkg-evolution-maintainers mailing list