{"action":"created","issue":{"url":"https://api.github.com/repos/concerto/concerto/issues/1084","labels_url":"https://api.github.com/repos/concerto/concerto/issues/1084/labels{/name}","comments_url":"https://api.github.com/repos/concerto/concerto/issues/1084/comments","events_url":"https://api.github.com/repos/concerto/concerto/issues/1084/events","html_url":"https://github.com/concerto/concerto/issues/1084","id":38202681,"number":1084,"title":"Timezone problem causing 500 on screens","user":{"login":"hkparker","id":2918615,"avatar_url":"https://avatars.githubusercontent.com/u/2918615?v=3","gravatar_id":"","url":"https://api.github.com/users/hkparker","html_url":"https://github.com/hkparker","followers_url":"https://api.github.com/users/hkparker/followers","following_url":"https://api.github.com/users/hkparker/following{/other_user}","gists_url":"https://api.github.com/users/hkparker/gists{/gist_id}","starred_url":"https://api.github.com/users/hkparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkparker/subscriptions","organizations_url":"https://api.github.com/users/hkparker/orgs","repos_url":"https://api.github.com/users/hkparker/repos","events_url":"https://api.github.com/users/hkparker/events{/privacy}","received_events_url":"https://api.github.com/users/hkparker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concerto/concerto/labels/BUG","name":"BUG","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"zr2d2","id":189034,"avatar_url":"https://avatars.githubusercontent.com/u/189034?v=3","gravatar_id":"","url":"https://api.github.com/users/zr2d2","html_url":"https://github.com/zr2d2","followers_url":"https://api.github.com/users/zr2d2/followers","following_url":"https://api.github.com/users/zr2d2/following{/other_user}","gists_url":"https://api.github.com/users/zr2d2/gists{/gist_id}","starred_url":"https://api.github.com/users/zr2d2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zr2d2/subscriptions","organizations_url":"https://api.github.com/users/zr2d2/orgs","repos_url":"https://api.github.com/users/zr2d2/repos","events_url":"https://api.github.com/users/zr2d2/events{/privacy}","received_events_url":"https://api.github.com/users/zr2d2/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-07-18T18:55:24Z","updated_at":"2015-04-09T22:39:24Z","closed_at":"2015-04-09T22:39:24Z","body":"On concerto 2.0.0 installed through apt on ubuntu 14.04, when a screen is viewed:\r\n\r\n    ArgumentError (comparison of Fixnum with nil failed):\r\n      app/models/screen.rb:260:in `each'\r\n      app/models/screen.rb:260:in `max'\r\n      app/models/screen.rb:260:in `block (2 levels) in frontend_cache_key'\r\n      app/models/screen.rb:259:in `block in frontend_cache_key'\r\n      app/models/screen.rb:257:in `frontend_cache_key'\r\n      app/controllers/frontend/contents_controller.rb:46:in `index'\r\n      app/controllers/application_controller.rb:112:in `set_time_zone'\r\n\r\nThis causes all digital signs to go black.  The relevant section of app/controllers/application_controller.rb:\r\n\r\n      def set_time_zone(&block)\r\n        if user_signed_in? && !current_user.time_zone.nil?\r\n          Time.use_zone(current_user.time_zone, &block)\r\n        else\r\n          Time.use_zone(ConcertoConfig[:system_time_zone], &block)\r\n        end\r\n      end\r\n\r\nLine 112 is between the else and end.  Were working on this issue and will update as we learn more."},"comment":{"url":"https://api.github.com/repos/concerto/concerto/issues/comments/91373085","html_url":"https://github.com/concerto/concerto/issues/1084#issuecomment-91373085","issue_url":"https://api.github.com/repos/concerto/concerto/issues/1084","id":91373085,"user":{"login":"zr2d2","id":189034,"avatar_url":"https://avatars.githubusercontent.com/u/189034?v=3","gravatar_id":"","url":"https://api.github.com/users/zr2d2","html_url":"https://github.com/zr2d2","followers_url":"https://api.github.com/users/zr2d2/followers","following_url":"https://api.github.com/users/zr2d2/following{/other_user}","gists_url":"https://api.github.com/users/zr2d2/gists{/gist_id}","starred_url":"https://api.github.com/users/zr2d2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zr2d2/subscriptions","organizations_url":"https://api.github.com/users/zr2d2/orgs","repos_url":"https://api.github.com/users/zr2d2/repos","events_url":"https://api.github.com/users/zr2d2/events{/privacy}","received_events_url":"https://api.github.com/users/zr2d2/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T22:39:23Z","updated_at":"2015-04-09T22:39:23Z","body":"I'm fairly certain this is fixed"}}