{"action":"closed","issue":{"url":"https://api.github.com/repos/futurice/meeting-room-tablet/issues/12","labels_url":"https://api.github.com/repos/futurice/meeting-room-tablet/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/futurice/meeting-room-tablet/issues/12/comments","events_url":"https://api.github.com/repos/futurice/meeting-room-tablet/issues/12/events","html_url":"https://github.com/futurice/meeting-room-tablet/issues/12","id":59956434,"number":12,"title":"Can't add event from traffic light view if so events present in resource","user":{"login":"traviscosgrave","id":2013716,"avatar_url":"https://avatars.githubusercontent.com/u/2013716?v=3","gravatar_id":"","url":"https://api.github.com/users/traviscosgrave","html_url":"https://github.com/traviscosgrave","followers_url":"https://api.github.com/users/traviscosgrave/followers","following_url":"https://api.github.com/users/traviscosgrave/following{/other_user}","gists_url":"https://api.github.com/users/traviscosgrave/gists{/gist_id}","starred_url":"https://api.github.com/users/traviscosgrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traviscosgrave/subscriptions","organizations_url":"https://api.github.com/users/traviscosgrave/orgs","repos_url":"https://api.github.com/users/traviscosgrave/repos","events_url":"https://api.github.com/users/traviscosgrave/events{/privacy}","received_events_url":"https://api.github.com/users/traviscosgrave/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Wisheri","id":3851825,"avatar_url":"https://avatars.githubusercontent.com/u/3851825?v=3","gravatar_id":"","url":"https://api.github.com/users/Wisheri","html_url":"https://github.com/Wisheri","followers_url":"https://api.github.com/users/Wisheri/followers","following_url":"https://api.github.com/users/Wisheri/following{/other_user}","gists_url":"https://api.github.com/users/Wisheri/gists{/gist_id}","starred_url":"https://api.github.com/users/Wisheri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wisheri/subscriptions","organizations_url":"https://api.github.com/users/Wisheri/orgs","repos_url":"https://api.github.com/users/Wisheri/repos","events_url":"https://api.github.com/users/Wisheri/events{/privacy}","received_events_url":"https://api.github.com/users/Wisheri/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-05T14:11:53Z","updated_at":"2015-06-22T09:33:21Z","closed_at":"2015-06-22T09:33:21Z","body":"I had a fresh resource calendar with zero events. The Book Now button an the traffic light screen was doing nothing. Looking at the code, it seems as if there is no event, then the time range is returned as null and the button handler returns without doing anything.\r\n\r\n[Line 121 of Room.java](https://github.com/futurice/meeting-room-tablet/blob/master/android/Reservator/src/com/futurice/android/reservator/model/Room.java#L121)\r\n"}}