{"action":"created","issue":{"url":"https://api.github.com/repos/bitfireAT/davdroid/issues/555","labels_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/555/comments","events_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/555/events","html_url":"https://github.com/bitfireAT/davdroid/issues/555","id":88986644,"number":555,"title":"Contacts not visible","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitfireAT/davdroid/labels/need%20info","name":"need info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-17T11:09:13Z","updated_at":"2015-06-17T11:57:04Z","closed_at":null,"body":"Since some time ago (unfortunately I'm not able to track this exactly) I'm unable to add new contacts.\r\n\r\nThis happens both when adding contact in phone or in the CardDAV. When adding in phone, the contact is synced to CardDAV, but not shown in the phone. When it's added on CardDAV, DAVdroid downloads it.\r\n\r\nNot sure how to debug this or what logs might be useful. For example this is when adding contact in the phone:\r\n\r\n```\r\nI/davdroid.DavSyncAdapter(29195): Performing sync for authority com.android.contacts\r\nD/davdroid.DavSyncAdapter(29195): Creating new DavHttpClient\r\nD/davdroid.DavSyncAdapter(29195): Server supports VCard version 3.0\r\nV/davdroid.URIUtils(29195): Normalized URL https://xxx/nijel/contacts/ -> https://xxx/nijel/contacts/\r\nD/davdroid.WebDavResource(29195): Using preemptive authentication (not compatible with Digest auth)\r\nI/davdroid.SyncManager(29195): Remotely removing 0 deleted resource(s) (if not changed)\r\nI/davdroid.SyncManager(29195): Uploading 1 new resource(s) (if not existing)\r\nE/SQLiteLog(31371): (284) automatic index on sqlite_sq_A2426EC0(STAT_DATA_ID)\r\nE/SQLiteLog(31371): (284) automatic index on sqlite_sq_AEE602E0(STAT_DATA_ID)\r\nV/davdroid.URIUtils(29195): Normalized URL 169118da-7ab0-48c2-b116-bcc2fa7c5de0.vcf -> 169118da-7ab0-48c2-b116-bcc2fa7c5de0.vcf\r\nD/davdroid.Collection(29195): Setting ETag of local resource 169118da-7ab0-48c2-b116-bcc2fa7c5de0.vcf to \"ff823c6a93d03cd1c4e6ea3a644bfc80\"\r\nD/davdroid.Collection(29195): Committing 1 operations\r\n```\r\n\r\nIt went just fine to the server:\r\n\r\n```\r\n2015-06-17 13:01:51,928 - INFO: PUT request at /nijel/contacts/169118da-7ab0-48c2-b116-bcc2fa7c5de0.vcf received\r\n```\r\n\r\nThe server is Radicale 0.10, phone Xperia Z1 Compact with Android 5.0.2, but same happens with Xperia E4g with Android 4.4.4, both with DAVdroid 0.8.0."},"comment":{"url":"https://api.github.com/repos/bitfireAT/davdroid/issues/comments/112771768","html_url":"https://github.com/bitfireAT/davdroid/issues/555#issuecomment-112771768","issue_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/555","id":112771768,"user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T11:57:04Z","updated_at":"2015-06-17T11:57:04Z","body":"Okay, it seems to be caused by Sony contacts application (or rather by some update to it as it used to work fine). After installing [True contacts](https://play.google.com/store/apps/details?id=cz.psencik.com.android.contacts) I can see all of them. Also when configuring contacts to display in this application to include contacts without group, Sony contacts magically start to show them as well.\r\n\r\nSo the problem here was that new contacts are added without group and the default contacts application not showing these. Not sure if something can be fixed on DAVdroid side for this..."}}