{"action":"closed","issue":{"url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7/issues/34","repository_url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7","labels_url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7/issues/34/comments","events_url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7/issues/34/events","html_url":"https://github.com/scg-unibe-ch/ese2016-team7/issues/34","id":189094624,"number":34,"title":"Fix Ad Search","user":{"login":"jounus","id":18490373,"avatar_url":"https://avatars.githubusercontent.com/u/18490373?v=3","gravatar_id":"","url":"https://api.github.com/users/jounus","html_url":"https://github.com/jounus","followers_url":"https://api.github.com/users/jounus/followers","following_url":"https://api.github.com/users/jounus/following{/other_user}","gists_url":"https://api.github.com/users/jounus/gists{/gist_id}","starred_url":"https://api.github.com/users/jounus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jounus/subscriptions","organizations_url":"https://api.github.com/users/jounus/orgs","repos_url":"https://api.github.com/users/jounus/repos","events_url":"https://api.github.com/users/jounus/events{/privacy}","received_events_url":"https://api.github.com/users/jounus/received_events","type":"User","site_admin":false},"labels":[{"id":450769717,"url":"https://api.github.com/repos/scg-unibe-ch/ese2016-team7/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"daveb17117","id":11643964,"avatar_url":"https://avatars.githubusercontent.com/u/11643964?v=3","gravatar_id":"","url":"https://api.github.com/users/daveb17117","html_url":"https://github.com/daveb17117","followers_url":"https://api.github.com/users/daveb17117/followers","following_url":"https://api.github.com/users/daveb17117/following{/other_user}","gists_url":"https://api.github.com/users/daveb17117/gists{/gist_id}","starred_url":"https://api.github.com/users/daveb17117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveb17117/subscriptions","organizations_url":"https://api.github.com/users/daveb17117/orgs","repos_url":"https://api.github.com/users/daveb17117/repos","events_url":"https://api.github.com/users/daveb17117/events{/privacy}","received_events_url":"https://api.github.com/users/daveb17117/received_events","type":"User","site_admin":false},"assignees":[{"login":"daveb17117","id":11643964,"avatar_url":"https://avatars.githubusercontent.com/u/11643964?v=3","gravatar_id":"","url":"https://api.github.com/users/daveb17117","html_url":"https://github.com/daveb17117","followers_url":"https://api.github.com/users/daveb17117/followers","following_url":"https://api.github.com/users/daveb17117/following{/other_user}","gists_url":"https://api.github.com/users/daveb17117/gists{/gist_id}","starred_url":"https://api.github.com/users/daveb17117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveb17117/subscriptions","organizations_url":"https://api.github.com/users/daveb17117/orgs","repos_url":"https://api.github.com/users/daveb17117/repos","events_url":"https://api.github.com/users/daveb17117/events{/privacy}","received_events_url":"https://api.github.com/users/daveb17117/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-14T11:56:15Z","updated_at":"2016-11-22T10:33:49Z","closed_at":"2016-11-22T10:33:49Z","body":"In both the quick search and the normal search, the string where you enter the city just gets checked if it has a valid format through a regular expression. So if you enter a valid pattern that doesn't correspond to a valid city, (for example 3000 - Mattia), the bindingResult won't have any errors, but it will crash the search page since that city doesn't exist => org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IndexOutOfBoundsException:\r\n\r\n- [x] Fix this bug: When entering a valid pattern that does not correspond to a valid city from the list, an appropriate text should be shown (like when you e.g. enter a negative price, for instance (\"Please pick a city from the list\") and the search should not be started. (@daveb17117)"}}
{"actor":{"display_login":"daveb17117"}}