{"action":"opened","issue":{"url":"https://api.github.com/repos/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject/issues/4","repository_url":"https://api.github.com/repos/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject","labels_url":"https://api.github.com/repos/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject/issues/4/comments","events_url":"https://api.github.com/repos/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject/issues/4/events","html_url":"https://github.com/SumeetBatra/Alzowaid_Batra_CSCI2270_FinalProject/issues/4","id":152343509,"number":4,"title":"Inserting a movie","user":{"login":"shadowelecman","id":18422969,"avatar_url":"https://avatars.githubusercontent.com/u/18422969?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowelecman","html_url":"https://github.com/shadowelecman","followers_url":"https://api.github.com/users/shadowelecman/followers","following_url":"https://api.github.com/users/shadowelecman/following{/other_user}","gists_url":"https://api.github.com/users/shadowelecman/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowelecman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowelecman/subscriptions","organizations_url":"https://api.github.com/users/shadowelecman/orgs","repos_url":"https://api.github.com/users/shadowelecman/repos","events_url":"https://api.github.com/users/shadowelecman/events{/privacy}","received_events_url":"https://api.github.com/users/shadowelecman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-01T18:48:06Z","updated_at":"2016-05-01T18:48:06Z","closed_at":null,"body":"If you input a string instead of a number when choosing a year while inserting a movie (menu option 1) the program freaks out a little bit and prints:\r\n\r\nEnter genres:\r\nEnter Country:\r\nEnter Language:\r\n\r\nThe code will then default to the string you entered in year being the country, the year being 0, and the genre remains blank. Also, if you put a string into the quantity option, the quantity defaults to 0, but the program tries to create a new movie and asks you to input its information as well. The new movie has no title."}}