{"action":"created","issue":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/154","labels_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/154/comments","events_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/154/events","html_url":"https://github.com/fmbiete/Z-Push-contrib/pull/154","id":60252190,"number":154,"title":"Fix \"Undefined index\" warnings using CalDAV backend","user":{"login":"GMTA","id":3210731,"avatar_url":"https://avatars.githubusercontent.com/u/3210731?v=3","gravatar_id":"","url":"https://api.github.com/users/GMTA","html_url":"https://github.com/GMTA","followers_url":"https://api.github.com/users/GMTA/followers","following_url":"https://api.github.com/users/GMTA/following{/other_user}","gists_url":"https://api.github.com/users/GMTA/gists{/gist_id}","starred_url":"https://api.github.com/users/GMTA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMTA/subscriptions","organizations_url":"https://api.github.com/users/GMTA/orgs","repos_url":"https://api.github.com/users/GMTA/repos","events_url":"https://api.github.com/users/GMTA/events{/privacy}","received_events_url":"https://api.github.com/users/GMTA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-08T11:14:39Z","updated_at":"2015-03-08T12:05:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/pulls/154","html_url":"https://github.com/fmbiete/Z-Push-contrib/pull/154","diff_url":"https://github.com/fmbiete/Z-Push-contrib/pull/154.diff","patch_url":"https://github.com/fmbiete/Z-Push-contrib/pull/154.patch"},"body":"I had set CALDAV_SUPPORTS_SYNC incorrectly (using SabreDAV 1.8.6 instead of the supported 1.9+) and CalDAVClient err'ed on me when it tried to access its sync tokens, which it of course did not have.\r\n\r\nThis adds a clear warning message informing the user of a possible fix and prevents the \"Undefined index\" warnings from occurring by checking if a token is available.\r\n\r\nQuite possibly fixes issue #139.\r\n\r\nThe UTF-8 fix makes the commit diff human readable by github. :-)"},"comment":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/comments/77745346","html_url":"https://github.com/fmbiete/Z-Push-contrib/pull/154#issuecomment-77745346","issue_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/154","id":77745346,"user":{"login":"fmbiete","id":1531783,"avatar_url":"https://avatars.githubusercontent.com/u/1531783?v=3","gravatar_id":"","url":"https://api.github.com/users/fmbiete","html_url":"https://github.com/fmbiete","followers_url":"https://api.github.com/users/fmbiete/followers","following_url":"https://api.github.com/users/fmbiete/following{/other_user}","gists_url":"https://api.github.com/users/fmbiete/gists{/gist_id}","starred_url":"https://api.github.com/users/fmbiete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmbiete/subscriptions","organizations_url":"https://api.github.com/users/fmbiete/orgs","repos_url":"https://api.github.com/users/fmbiete/repos","events_url":"https://api.github.com/users/fmbiete/events{/privacy}","received_events_url":"https://api.github.com/users/fmbiete/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T12:05:32Z","updated_at":"2015-03-08T12:05:32Z","body":"Great finding! That really make sense and the warning will help notice the problem to the sysadmins."}}