View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003819 | SOGo | Apple Calendar (Mac OS X) | public | 2016-09-23 12:26 | 2017-05-08 19:04 |
Reporter | jk | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | MacOS | OS | MacOS | OS Version | 10.11 |
Product Version | 2.3.15 | ||||
Fixed in Version | 3.2.0 | ||||
Summary | 0003819: Some VCards exposed via CardDAV don't have a UID and therefore are ignored by MacOS Contacts.app | ||||
Description | Contacts.app reports following Error for a lot of contacts, but not all. It's silent in the UI so the user is just confused why only some contacts show up. The Error Console shows: 23/09/16 14:02:41,202 Contacts[23907]: [CardDAVPlugin-ERROR] CardInfoFromVCardData(): Ignored vCard at /SOGo/dav/bongo/Contacts/personal/6651-4FCD1D00-1DD-1CFE7500 because there is no UID property: "BEGIN:VCARD redacted PRODID:-//dmfs.org//mimedir.vcard//EN I suspect my Android Phone somehow doesn't create the UID but it's not added by sogo either, I'm using android 6.0.1 and Carddav Syncer of DMFS (popular). The problem should not only solved by the client but also by sogo since mabye more clients (will) have that bug. This issue persisted also in earlier versions (just upgraded from 2.2.9) | ||||
Steps To Reproduce | Add SOGO to Contacts.app Accounts and sync contacts created on a Android smartphone. | ||||
Tags | No tags attached. | ||||
Please sniff on port 20 000 on your SOGo server using tcpflow and confirm no UID is sent. |
|
I did the tcpflow dump and it shows that there's no UID: <?xml version="1.0" encoding="utf-8"?> ..... |
|
FTR: the VCard in the description was created by an ancient Version of CardDAV-Sync. Recent versions always add a UID before uploading a new contact. |
|
I can still reproduce the behaviour with the latest nightly 3.2.0.20161004-1 and 3.2.0.20161010-1 |
|
Okay, since that does not seem to be fixed for now, I helped myself with fixing the VCF files myself. For the interested:
#!/bin/bash for card in grep -i "^UID:" $card > /dev/null done |
|
Uploaded cards will always have a UID. Old cards can be fixed manually, it was a bug in CardDAV-Sync. |
|
sogo: master 8ec73590 2016-09-27 19:49 Details Diff |
(fix) make sure new cards always have a UID (fixes 0003819) |
Affected Issues 0003819 |
|
mod - SoObjects/Contacts/SOGoContactGCSEntry.m | Diff File | ||
sogo: v2 156a8304 2016-09-27 19:49 Details Diff |
(fix) make sure new cards always have a UID (fixes 0003819) |
Affected Issues 0003819 |
|
mod - SoObjects/Contacts/SOGoContactGCSEntry.m | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-23 12:26 | jk | New Issue | |
2016-09-23 15:01 | ludovic | Note Added: 0010653 | |
2016-09-23 15:01 | ludovic | Severity | major => minor |
2016-09-23 20:33 | jk | Note Added: 0010682 | |
2016-09-27 23:14 | Marten Gajda | Note Added: 0010699 | |
2016-09-27 23:52 | ludovic | Changeset attached | => sogo master 8ec73590 |
2016-09-27 23:52 | ludovic | Assigned To | => ludovic |
2016-09-27 23:52 | ludovic | Resolution | open => fixed |
2016-09-27 23:53 | ludovic | Changeset attached | => sogo v2 156a8304 |
2016-09-27 23:53 | ludovic | Status | new => resolved |
2016-09-27 23:53 | ludovic | Fixed in Version | => 3.2.0 |
2016-10-04 09:54 | jk | Note Added: 0010720 | |
2016-10-04 09:54 | jk | Status | resolved => feedback |
2016-10-04 09:54 | jk | Resolution | fixed => reopened |
2016-10-10 17:51 | jk | Note Edited: 0010720 | |
2016-10-29 22:16 | jk | Note Added: 0010797 | |
2016-10-29 22:16 | jk | Status | feedback => assigned |
2017-05-08 19:04 | ludovic | Note Added: 0011802 | |
2017-05-08 19:04 | ludovic | Status | assigned => closed |
2017-05-08 19:04 | ludovic | Resolution | reopened => suspended |