{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/21429","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/21429/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/21429/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/21429/events","html_url":"https://github.com/dimagi/commcare-hq/pull/21429","id":347070406,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzgwNTk0","number":21429,"title":"Validation for Dhis2FormConfig.datavalue_map","user":{"login":"kaapstorm","id":708421,"node_id":"MDQ6VXNlcjcwODQyMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/708421?v=4","gravatar_id":"","url":"https://api.github.com/users/kaapstorm","html_url":"https://github.com/kaapstorm","followers_url":"https://api.github.com/users/kaapstorm/followers","following_url":"https://api.github.com/users/kaapstorm/following{/other_user}","gists_url":"https://api.github.com/users/kaapstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/kaapstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaapstorm/subscriptions","organizations_url":"https://api.github.com/users/kaapstorm/orgs","repos_url":"https://api.github.com/users/kaapstorm/repos","events_url":"https://api.github.com/users/kaapstorm/events{/privacy}","received_events_url":"https://api.github.com/users/kaapstorm/received_events","type":"User","site_admin":false},"labels":[{"id":724787015,"node_id":"MDU6TGFiZWw3MjQ3ODcwMTU=","url":"https://api.github.com/repos/dimagi/commcare-hq/labels/product/invisible","name":"product/invisible","color":"cfd2d6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T15:47:00Z","updated_at":"2018-08-03T08:04:07Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/21429","html_url":"https://github.com/dimagi/commcare-hq/pull/21429","diff_url":"https://github.com/dimagi/commcare-hq/pull/21429.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/21429.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/410177957","html_url":"https://github.com/dimagi/commcare-hq/pull/21429#issuecomment-410177957","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/21429","id":410177957,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDE3Nzk1Nw==","user":{"login":"snopoke","id":249606,"node_id":"MDQ6VXNlcjI0OTYwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/249606?v=4","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T08:04:07Z","updated_at":"2018-08-03T08:04:07Z","author_association":"CONTRIBUTOR","body":"Build failure looks real:\r\n```\r\nERROR: corehq.motech.dhis2.tests.test_dhis_config:TestDhisConfigValidation.test_empty_json\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/commcare-hq-ro/corehq/motech/dhis2/tests/test_dhis_config.py\", line 31, in test_empty_json\r\n    self.assertTrue(form.is_valid())\r\n  File \"/vendor/lib/python2.7/site-packages/django/forms/forms.py\", line 183, in is_valid\r\n    return self.is_bound and not self.errors\r\n  File \"/vendor/lib/python2.7/site-packages/django/forms/forms.py\", line 175, in errors\r\n    self.full_clean()\r\n  File \"/vendor/lib/python2.7/site-packages/django/forms/forms.py\", line 384, in full_clean\r\n    self._clean_fields()\r\n  File \"/vendor/lib/python2.7/site-packages/django/forms/forms.py\", line 405, in _clean_fields\r\n    value = getattr(self, 'clean_%s' % name)()\r\n  File \"/mnt/commcare-hq-ro/corehq/motech/dhis2/forms.py\", line 85, in clean_form_configs\r\n    if not form_config['datavalue_maps']:\r\nKeyError: u'datavalue_maps'\r\n```"}}
{"actor":{"display_login":"snopoke"}}