{"action":"opened","issue":{"url":"https://api.github.com/repos/se-edu/addressbook-level4/issues/635","repository_url":"https://api.github.com/repos/se-edu/addressbook-level4","labels_url":"https://api.github.com/repos/se-edu/addressbook-level4/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/se-edu/addressbook-level4/issues/635/comments","events_url":"https://api.github.com/repos/se-edu/addressbook-level4/issues/635/events","html_url":"https://github.com/se-edu/addressbook-level4/issues/635","id":251629638,"number":635,"title":"Teach CommandBox to not execute empty string","user":{"login":"Zhiyuan-Amos","id":19281514,"avatar_url":"https://avatars3.githubusercontent.com/u/19281514?v=4","gravatar_id":"","url":"https://api.github.com/users/Zhiyuan-Amos","html_url":"https://github.com/Zhiyuan-Amos","followers_url":"https://api.github.com/users/Zhiyuan-Amos/followers","following_url":"https://api.github.com/users/Zhiyuan-Amos/following{/other_user}","gists_url":"https://api.github.com/users/Zhiyuan-Amos/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiyuan-Amos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiyuan-Amos/subscriptions","organizations_url":"https://api.github.com/users/Zhiyuan-Amos/orgs","repos_url":"https://api.github.com/users/Zhiyuan-Amos/repos","events_url":"https://api.github.com/users/Zhiyuan-Amos/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiyuan-Amos/received_events","type":"User","site_admin":false},"labels":[{"id":449825308,"url":"https://api.github.com/repos/se-edu/addressbook-level4/labels/c.Enhancement","name":"c.Enhancement","color":"d6f5f5","default":false},{"id":502797965,"url":"https://api.github.com/repos/se-edu/addressbook-level4/labels/d.FirstTimers","name":"d.FirstTimers","color":"ffa500","default":false},{"id":432685900,"url":"https://api.github.com/repos/se-edu/addressbook-level4/labels/p.Low","name":"p.Low","color":"ffb3b3","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-21T11:25:49Z","updated_at":"2017-08-21T11:25:49Z","closed_at":null,"body":"`CommandBox` passes empty string to `Logic` for parsing and execution.\r\nAn empty string is unsuccessfully parsed, resulting in an error message\r\nstating \"Invalid command format\" being displayed to the user.\r\n\r\nThis behaviour seems unintuitive, as it is unlikely that users expect\r\nan empty string to be able to execute a correct command.\r\n\r\nLet's teach CommandBox to perform nothing when there is no user input\r\nand the enter button is pressed."}}
{"actor":{"display_login":"Zhiyuan-Amos"}}