{"action":"closed","issue":{"url":"https://api.github.com/repos/IFRCGo/cbs/issues/657","repository_url":"https://api.github.com/repos/IFRCGo/cbs","labels_url":"https://api.github.com/repos/IFRCGo/cbs/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/IFRCGo/cbs/issues/657/comments","events_url":"https://api.github.com/repos/IFRCGo/cbs/issues/657/events","html_url":"https://github.com/IFRCGo/cbs/issues/657","id":315128714,"number":657,"title":"Incorrect parsing of SMS: 7#A#1#2","user":{"login":"karolikl","id":5235776,"avatar_url":"https://avatars3.githubusercontent.com/u/5235776?v=4","gravatar_id":"","url":"https://api.github.com/users/karolikl","html_url":"https://github.com/karolikl","followers_url":"https://api.github.com/users/karolikl/followers","following_url":"https://api.github.com/users/karolikl/following{/other_user}","gists_url":"https://api.github.com/users/karolikl/gists{/gist_id}","starred_url":"https://api.github.com/users/karolikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karolikl/subscriptions","organizations_url":"https://api.github.com/users/karolikl/orgs","repos_url":"https://api.github.com/users/karolikl/repos","events_url":"https://api.github.com/users/karolikl/events{/privacy}","received_events_url":"https://api.github.com/users/karolikl/received_events","type":"User","site_admin":false},"labels":[{"id":890879132,"url":"https://api.github.com/repos/IFRCGo/cbs/labels/Volunteer%20Reporting","name":"Volunteer Reporting","color":"f779f1","default":false},{"id":706690119,"url":"https://api.github.com/repos/IFRCGo/cbs/labels/backend","name":"backend","color":"fbca04","default":false},{"id":669916867,"url":"https://api.github.com/repos/IFRCGo/cbs/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"woksin","id":13407188,"avatar_url":"https://avatars1.githubusercontent.com/u/13407188?v=4","gravatar_id":"","url":"https://api.github.com/users/woksin","html_url":"https://github.com/woksin","followers_url":"https://api.github.com/users/woksin/followers","following_url":"https://api.github.com/users/woksin/following{/other_user}","gists_url":"https://api.github.com/users/woksin/gists{/gist_id}","starred_url":"https://api.github.com/users/woksin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woksin/subscriptions","organizations_url":"https://api.github.com/users/woksin/orgs","repos_url":"https://api.github.com/users/woksin/repos","events_url":"https://api.github.com/users/woksin/events{/privacy}","received_events_url":"https://api.github.com/users/woksin/received_events","type":"User","site_admin":false},"assignees":[{"login":"woksin","id":13407188,"avatar_url":"https://avatars1.githubusercontent.com/u/13407188?v=4","gravatar_id":"","url":"https://api.github.com/users/woksin","html_url":"https://github.com/woksin","followers_url":"https://api.github.com/users/woksin/followers","following_url":"https://api.github.com/users/woksin/following{/other_user}","gists_url":"https://api.github.com/users/woksin/gists{/gist_id}","starred_url":"https://api.github.com/users/woksin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woksin/subscriptions","organizations_url":"https://api.github.com/users/woksin/orgs","repos_url":"https://api.github.com/users/woksin/repos","events_url":"https://api.github.com/users/woksin/events{/privacy}","received_events_url":"https://api.github.com/users/woksin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/IFRCGo/cbs/milestones/1","html_url":"https://github.com/IFRCGo/cbs/milestone/1","labels_url":"https://api.github.com/repos/IFRCGo/cbs/milestones/1/labels","id":2805039,"number":1,"title":"MVP","description":"Minimum Viable Project","creator":{"login":"karolikl","id":5235776,"avatar_url":"https://avatars3.githubusercontent.com/u/5235776?v=4","gravatar_id":"","url":"https://api.github.com/users/karolikl","html_url":"https://github.com/karolikl","followers_url":"https://api.github.com/users/karolikl/followers","following_url":"https://api.github.com/users/karolikl/following{/other_user}","gists_url":"https://api.github.com/users/karolikl/gists{/gist_id}","starred_url":"https://api.github.com/users/karolikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karolikl/subscriptions","organizations_url":"https://api.github.com/users/karolikl/orgs","repos_url":"https://api.github.com/users/karolikl/repos","events_url":"https://api.github.com/users/karolikl/events{/privacy}","received_events_url":"https://api.github.com/users/karolikl/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":94,"state":"open","created_at":"2017-10-01T11:07:14Z","updated_at":"2018-04-18T13:31:21Z","due_on":"2018-04-13T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-04-17T16:04:38Z","updated_at":"2018-04-18T13:31:20Z","closed_at":"2018-04-18T13:31:20Z","author_association":"COLLABORATOR","body":"In the field test, an SMS was received with the following content: 7#A#1#2\r\n\r\nThis was parsed in the following way: \r\n{\"id\":\"4bfdf496-0e13-421f-9881-8c81092caf4c\",\"status\":0,\"dataCollectorId\":{\"value\":\"22eda152-9080-4ada-ae14-39b3ca914b84\"},\"dataCollectorDisplayName\":\"izabella\",\"healthRiskId\":{\"value\":\"51b92f4d-f14f-4ce9-9134-d766db5c3f80\"},\"healthRisk\":\"Cholera \",\"message\":null,\"numberOfFemalesAgedOver4\":0,\"numberOfFemalesAges0To4\":0,\"numberOfMalesAgedOver4\":1,\"numberOfMalesAges0To4\":0,\"timestamp\":\"2018-04-13T08:53:02+02:00\",\"location\":{\"latitude\":2.0,\"longitude\":2.0},\"origin\":\"+4746877364\",\"parsingErrorMessage\":null}\r\n\r\nThis message should have resulted in an error as it is not a valid format. "}}
{"actor":{"display_login":"woksin"}}