{"action":"created","issue":{"url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/86","labels_url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/86/comments","events_url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/86/events","html_url":"https://github.com/RaymondYounan/LEMIS/issues/86","id":53373932,"number":86,"title":"Application Administration > Directorate >  An error message is generated when the user creates a new directorate that doesn’t belong to Iraq.","user":{"login":"tannourynadine","id":3637417,"avatar_url":"https://avatars.githubusercontent.com/u/3637417?v=3","gravatar_id":"","url":"https://api.github.com/users/tannourynadine","html_url":"https://github.com/tannourynadine","followers_url":"https://api.github.com/users/tannourynadine/followers","following_url":"https://api.github.com/users/tannourynadine/following{/other_user}","gists_url":"https://api.github.com/users/tannourynadine/gists{/gist_id}","starred_url":"https://api.github.com/users/tannourynadine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannourynadine/subscriptions","organizations_url":"https://api.github.com/users/tannourynadine/orgs","repos_url":"https://api.github.com/users/tannourynadine/repos","events_url":"https://api.github.com/users/tannourynadine/events{/privacy}","received_events_url":"https://api.github.com/users/tannourynadine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DrJoeHage","id":9402931,"avatar_url":"https://avatars.githubusercontent.com/u/9402931?v=3","gravatar_id":"","url":"https://api.github.com/users/DrJoeHage","html_url":"https://github.com/DrJoeHage","followers_url":"https://api.github.com/users/DrJoeHage/followers","following_url":"https://api.github.com/users/DrJoeHage/following{/other_user}","gists_url":"https://api.github.com/users/DrJoeHage/gists{/gist_id}","starred_url":"https://api.github.com/users/DrJoeHage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrJoeHage/subscriptions","organizations_url":"https://api.github.com/users/DrJoeHage/orgs","repos_url":"https://api.github.com/users/DrJoeHage/repos","events_url":"https://api.github.com/users/DrJoeHage/events{/privacy}","received_events_url":"https://api.github.com/users/DrJoeHage/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-05T08:24:54Z","updated_at":"2015-01-11T21:07:05Z","closed_at":null,"body":"**Steps to Reproduce**\r\n-\tSelect Application Administration > Directorate from the left navigation menu.\r\n-\tClick on the “Create Directorate” button.\r\n-\tFill in all the information and for the country field, select a country different than “Iraq”.\r\n\r\n**Actual Result**\r\nThe following error message is generated when the user selects a country different than “Iraq”: “Error getting the Governorates:undefined”\r\n\r\n**Notes**\r\n- If the directorate belongs to Iraq and to a district that doesn't have a sub-district, the following error message is generated: \"Error in creating Directorate:Input string was not in a correct format.\" and the directorate cannot be created.\r\n- This issue is also reproducible when the user tries to update a directorate belonging to Iraq to a different country.\r\n\r\n**Expected Result**\r\nNo error message should be generated when the user selects a country different than “Iraq” and the directorate should be created with no issues. \r\n"},"comment":{"url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/comments/69511474","html_url":"https://github.com/RaymondYounan/LEMIS/issues/86#issuecomment-69511474","issue_url":"https://api.github.com/repos/RaymondYounan/LEMIS/issues/86","id":69511474,"user":{"login":"RaymondYounan","id":9402560,"avatar_url":"https://avatars.githubusercontent.com/u/9402560?v=3","gravatar_id":"","url":"https://api.github.com/users/RaymondYounan","html_url":"https://github.com/RaymondYounan","followers_url":"https://api.github.com/users/RaymondYounan/followers","following_url":"https://api.github.com/users/RaymondYounan/following{/other_user}","gists_url":"https://api.github.com/users/RaymondYounan/gists{/gist_id}","starred_url":"https://api.github.com/users/RaymondYounan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaymondYounan/subscriptions","organizations_url":"https://api.github.com/users/RaymondYounan/orgs","repos_url":"https://api.github.com/users/RaymondYounan/repos","events_url":"https://api.github.com/users/RaymondYounan/events{/privacy}","received_events_url":"https://api.github.com/users/RaymondYounan/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T21:07:05Z","updated_at":"2015-01-11T21:07:05Z","body":"Joe,\r\n\r\nSince we have no data for countries other than Iraq, the drop down lists will not be generated.\r\nCan you please specify how to solve this?\r\n\r\nThanks"}}