{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-ponymail/issues/223","repository_url":"https://api.github.com/repos/apache/incubator-ponymail","labels_url":"https://api.github.com/repos/apache/incubator-ponymail/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-ponymail/issues/223/comments","events_url":"https://api.github.com/repos/apache/incubator-ponymail/issues/223/events","html_url":"https://github.com/apache/incubator-ponymail/issues/223","id":187347764,"number":223,"title":"Bug: archiver fails when adding entries to the notifications table","user":{"login":"sebbASF","id":16689231,"avatar_url":"https://avatars.githubusercontent.com/u/16689231?v=3","gravatar_id":"","url":"https://api.github.com/users/sebbASF","html_url":"https://github.com/sebbASF","followers_url":"https://api.github.com/users/sebbASF/followers","following_url":"https://api.github.com/users/sebbASF/following{/other_user}","gists_url":"https://api.github.com/users/sebbASF/gists{/gist_id}","starred_url":"https://api.github.com/users/sebbASF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebbASF/subscriptions","organizations_url":"https://api.github.com/users/sebbASF/orgs","repos_url":"https://api.github.com/users/sebbASF/repos","events_url":"https://api.github.com/users/sebbASF/events{/privacy}","received_events_url":"https://api.github.com/users/sebbASF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T14:30:17Z","updated_at":"2016-11-04T14:30:17Z","closed_at":null,"body":"If notifications are enabled, the archiver fails with:\r\n```\r\nArchiving failed!: TransportError(400, 'mapper_parsing_exception', 'failed to parse [date]')\r\nCould not parse email: Archiving to ES failed\r\n```\r\nThis is because ES assumes that a 'date' field will have the format:\r\n\"yyyy/MM/dd HH:mm:ss\"\r\nwhereas the code uses the Date: header from the message, which may be:\r\nDate: Mon, 11 Jul 2016 15:16:58 +0200\r\n\r\nThe code uses mdatestring for the 'date' field when adding the mbox doc; notifications should use the same value."}}
{"actor":{"display_login":"sebbASF"}}