{"action":"created","issue":{"url":"https://api.github.com/repos/fruux/Baikal/issues/626","repository_url":"https://api.github.com/repos/fruux/Baikal","labels_url":"https://api.github.com/repos/fruux/Baikal/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/fruux/Baikal/issues/626/comments","events_url":"https://api.github.com/repos/fruux/Baikal/issues/626/events","html_url":"https://github.com/fruux/Baikal/issues/626","id":187983582,"number":626,"title":"500 error on creating new meetings stops invitation emails being sent after 0.2.7-0.4.6 upgrade","user":{"login":"ffstone","id":23337040,"avatar_url":"https://avatars.githubusercontent.com/u/23337040?v=3","gravatar_id":"","url":"https://api.github.com/users/ffstone","html_url":"https://github.com/ffstone","followers_url":"https://api.github.com/users/ffstone/followers","following_url":"https://api.github.com/users/ffstone/following{/other_user}","gists_url":"https://api.github.com/users/ffstone/gists{/gist_id}","starred_url":"https://api.github.com/users/ffstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffstone/subscriptions","organizations_url":"https://api.github.com/users/ffstone/orgs","repos_url":"https://api.github.com/users/ffstone/repos","events_url":"https://api.github.com/users/ffstone/events{/privacy}","received_events_url":"https://api.github.com/users/ffstone/received_events","type":"User","site_admin":false},"labels":[{"id":396428,"url":"https://api.github.com/repos/fruux/Baikal/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fruux/Baikal/milestones/6","html_url":"https://github.com/fruux/Baikal/milestones/0.5.0","labels_url":"https://api.github.com/repos/fruux/Baikal/milestones/6/labels","id":1646706,"number":6,"title":"0.5.0","description":"* New directory structure\r\n* New configuration\r\n* Rewrite to Silex","creator":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-03-15T22:06:04Z","updated_at":"2016-11-08T14:27:54Z","due_on":"2016-09-15T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-11-08T12:49:08Z","updated_at":"2016-11-08T21:44:27Z","closed_at":null,"body":"After upgrading from 0.2.7 to 0.4.6, when I create meetings from Lightning or iOS, no invitation emails are sent to the attendees. Everything else seems to be working fine across devices. The issue looks to be a 500 when posting the meeting to the calendar outbox which appears to be stopping the client from sending the email notification. \r\n\r\nThe POST request is as follows:\r\n\r\n```\r\nPOST /cal/cal.php/calendars/user/outbox/ HTTP/1.1\r\nHost: HOSTREMOVED\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Lightning/4.7.4\r\nAccept: text/xml\r\nAccept-Language: en-US,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept-Charset: utf-8,*;q=0.1\r\nContent-Length: 383\r\nContent-Type: text/calendar; charset=utf-8\r\nOriginator: mailto:b@c.com\r\nRecipient: mailto:b@c.com\r\nAuthorization: Basic AUTHREMOVED\r\nConnection: keep-alive\r\nPragma: no-cache\r\nCache-Control: no-cache\r\n\r\nBEGIN:VCALENDAR\r\nPRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN\r\nVERSION:2.0\r\nMETHOD:REQUEST\r\nBEGIN:VFREEBUSY\r\nDTSTAMP:20161027T014312Z\r\nORGANIZER:mailto:b@c.com\r\nDTSTART:20161104T000000Z\r\nDTEND:20161120T000000Z\r\nUID:REMOVED\r\nATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:mail\r\n to:b@c.com\r\nEND:VFREEBUSY\r\nEND:VCALENDAR\r\n```\r\n\r\nwith the response being\r\n\r\n```\r\nHTTP/1.1 500 Internal Server Error\r\nDate: Thu, 27 Oct 2016 01:43:07 GMT\r\nServer: Apache\r\nSet-Cookie: PHPSESSID=REMOVED; path=/; HttpOnly\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0\r\nPragma: no-cache\r\nX-Sabre-Version: 3.1.3\r\nX-Frame-Options: SAMEORIGIN\r\nContent-Length: 274\r\nConnection: close\r\nContent-Type: application/xml; charset=utf-8\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\r\n  <s:sabredav-version>3.1.3</s:sabredav-version>\r\n  <s:exception>Sabre\\VObject\\EofException</s:exception>\r\n  <s:message>End of document reached prematurely</s:message>\r\n</d:error>\r\n```\r\n\r\nAny suggestions on how to get this resolved? "},"comment":{"url":"https://api.github.com/repos/fruux/Baikal/issues/comments/259269175","html_url":"https://github.com/fruux/Baikal/issues/626#issuecomment-259269175","issue_url":"https://api.github.com/repos/fruux/Baikal/issues/626","id":259269175,"user":{"login":"ffstone","id":23337040,"avatar_url":"https://avatars.githubusercontent.com/u/23337040?v=3","gravatar_id":"","url":"https://api.github.com/users/ffstone","html_url":"https://github.com/ffstone","followers_url":"https://api.github.com/users/ffstone/followers","following_url":"https://api.github.com/users/ffstone/following{/other_user}","gists_url":"https://api.github.com/users/ffstone/gists{/gist_id}","starred_url":"https://api.github.com/users/ffstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffstone/subscriptions","organizations_url":"https://api.github.com/users/ffstone/orgs","repos_url":"https://api.github.com/users/ffstone/repos","events_url":"https://api.github.com/users/ffstone/events{/privacy}","received_events_url":"https://api.github.com/users/ffstone/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T21:44:27Z","updated_at":"2016-11-08T21:44:27Z","body":"Interesting. Is there any way to see which entry is causing the failure? Manually going through 1000s of entries is not much fun. vdirsyncer fetched everything with no errors. "}}
{"actor":{"display_login":"ffstone"}}