Changes on phone and email data don't sync with horde groupware

  • When creating or changing phone number and e-mail data on the smarphone, these changes are not synced towards horde and resetted after synchronization.

    The opposite direction – changes via the webinterface in horde and synced towards the smartphone – works like a charm.

  • developer

    Please provide 1) detailled steps how to reproduce this and 2) logs.

    1. Open the contacts-app on the smartphone and create a new record
    2. Enter any name and any telephone number
    3. Save the newly created record
    4. Open System Settings (german: “Systemeinstellungen”) scroll down to the accounts section and select the DAVdroid account for a horde groupware installation
    5. Sync contacts
    6. Go back to the contacts app and select the record you created in step 2
    7. The telephone number you entered, is gone

    Second: the logs

    No error is shown. But there is a discrepancy:

    From the beginning of the log (line 18ff)

    D/davdroid.WebDavResource(21091): Sending PUT request:
    D/davdroid.WebDavResource(21091): BEGIN:VCARD
    D/davdroid.WebDavResource(21091): VERSION:3.0
    D/davdroid.WebDavResource(21091): PRODID:DAVdroid/0.5.8-alpha (ez-vcard/0.9.2)
    D/davdroid.WebDavResource(21091): UID:0fd6d0a5-f876-496a-8b12-3fbe0cf710cc
    D/davdroid.WebDavResource(21091): FN:Brat Wurst
    D/davdroid.WebDavResource(21091): N:Wurst;Brat;;;
    D/davdroid.WebDavResource(21091): TEL;TYPE=cell:123 456
    D/davdroid.WebDavResource(21091): REV:20140214T182657Z
    D/davdroid.WebDavResource(21091): END:VCARD

    So the phone number is transmitted to horde. But at the logs end there is:

    I/davdroid.SyncManager(21091): Fetching 1 updated remote resource(s)
    D/davdroid.SNISocketFactory(21091): Setting SNI hostname
    I/davdroid.SNISocketFactory(21091): Established TLSv1.2 connection with using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
    D/davdroid.WebDavResource(21091): Received HTTP/1.1 200 OK
    D/davdroid.WebDavResource(21091): BEGIN:VCARD
    D/davdroid.WebDavResource(21091): VERSION:3.0
    D/davdroid.WebDavResource(21091): UID:0fd6d0a5-f876-496a-8b12-3fbe0cf710cc
    D/davdroid.WebDavResource(21091): NICKNAME:
    D/davdroid.WebDavResource(21091): X-EPOCSECONDNAME:
    D/davdroid.WebDavResource(21091): BDAY:
    D/davdroid.WebDavResource(21091): X-ANNIVERSARY:
    D/davdroid.WebDavResource(21091): X-SPOUSE:
    D/davdroid.WebDavResource(21091): PHOTO:
    D/davdroid.WebDavResource(21091): TZ;VALUE=text:
    D/davdroid.WebDavResource(21091): EMAIL;TYPE=INTERNET:
    D/davdroid.WebDavResource(21091): TEL;TYPE=HOME,VOICE:
    D/davdroid.WebDavResource(21091): TEL;TYPE=FAX,HOME:
    D/davdroid.WebDavResource(21091): TEL;TYPE=WORK,VOICE:
    D/davdroid.WebDavResource(21091): TEL;TYPE=CELL,VOICE:
    D/davdroid.WebDavResource(21091): TEL;TYPE=FAX:
    D/davdroid.WebDavResource(21091): TEL;TYPE=PAGER:
    D/davdroid.WebDavResource(21091): TITLE:
    D/davdroid.WebDavResource(21091): ROLE:
    D/davdroid.WebDavResource(21091): LOGO:
    D/davdroid.WebDavResource(21091): CATEGORIES:
    D/davdroid.WebDavResource(21091): NOTE:
    D/davdroid.WebDavResource(21091): URL:
    D/davdroid.WebDavResource(21091): X-WV-ID:
    D/davdroid.WebDavResource(21091): N:Wurst;Brat;;;
    D/davdroid.WebDavResource(21091): FN:Brat Wurst
    D/davdroid.WebDavResource(21091): ORG:;
    D/davdroid.WebDavResource(21091): ADR;TYPE=HOME:;;;;;;
    D/davdroid.WebDavResource(21091): ADR;TYPE=WORK:;;;;;;
    D/davdroid.WebDavResource(21091): END:VCARD
    I/davdroid.SyncManager(21091): Updating 0fd6d0a5-f876-496a-8b12-3fbe0cf710cc.vcf
    D/davdroid.LocalCollection(21091): Committing 17 operations
    I/davdroid.SyncManager(21091): Removing non-dirty resources that are not present remotely anymore
    D/davdroid.LocalCollection(21091): Committing 1 operations
    I/davdroid.SyncManager(21091): Sync complete, fetching new CTag

    So the phone number does not exist any more.

    Or do you need the entire logfile? This is my first bug report and my first experience at github. I try to do my very best.

  • developer

    So the phone number does not exist any more.

    This really looks like Horde drops the phone number… does it work with email addresses, for instance?

  • Email addresses don’t work either. Tried Street and city – no problems with this.

    Thanks for your help. I will try to contact the guys from horde now.

  • developer

    @torsk If you create a Horde bug report, please post the URL here for reference.

  • developer

    Closing because this seems to be a 3rd-party bug. If this issue is still present and if you have verified that it’s not a Horde problem, please post here and I’ll re-open the issue.

  • Sorry for delay. I reported this as bug against Horde:

Similar topics

  • 2
  • 3
  • 3