{"action":"created","issue":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/1297","labels_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1297/labels{/name}","comments_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1297/comments","events_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1297/events","html_url":"https://github.com/NREL/OpenStudio/issues/1297","id":51035168,"number":1297,"title":"Exterior lights crash on tranlastion to idf","user":{"login":"macumber","id":1327850,"avatar_url":"https://avatars.githubusercontent.com/u/1327850?v=3","gravatar_id":"","url":"https://api.github.com/users/macumber","html_url":"https://github.com/macumber","followers_url":"https://api.github.com/users/macumber/followers","following_url":"https://api.github.com/users/macumber/following{/other_user}","gists_url":"https://api.github.com/users/macumber/gists{/gist_id}","starred_url":"https://api.github.com/users/macumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macumber/subscriptions","organizations_url":"https://api.github.com/users/macumber/orgs","repos_url":"https://api.github.com/users/macumber/repos","events_url":"https://api.github.com/users/macumber/events{/privacy}","received_events_url":"https://api.github.com/users/macumber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NREL/OpenStudio/labels/component%20-%20Code","name":"component - Code","color":"888888"},{"url":"https://api.github.com/repos/NREL/OpenStudio/labels/severity%20-%20Blocker","name":"severity - Blocker","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"kbenne","id":707488,"avatar_url":"https://avatars.githubusercontent.com/u/707488?v=3","gravatar_id":"","url":"https://api.github.com/users/kbenne","html_url":"https://github.com/kbenne","followers_url":"https://api.github.com/users/kbenne/followers","following_url":"https://api.github.com/users/kbenne/following{/other_user}","gists_url":"https://api.github.com/users/kbenne/gists{/gist_id}","starred_url":"https://api.github.com/users/kbenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbenne/subscriptions","organizations_url":"https://api.github.com/users/kbenne/orgs","repos_url":"https://api.github.com/users/kbenne/repos","events_url":"https://api.github.com/users/kbenne/events{/privacy}","received_events_url":"https://api.github.com/users/kbenne/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NREL/OpenStudio/milestones/6","html_url":"https://github.com/NREL/OpenStudio/milestones/Version%201.7.0","labels_url":"https://api.github.com/repos/NREL/OpenStudio/milestones/6/labels","id":947704,"number":6,"title":"Version 1.7.0","description":"","creator":{"login":"macumber","id":1327850,"avatar_url":"https://avatars.githubusercontent.com/u/1327850?v=3","gravatar_id":"","url":"https://api.github.com/users/macumber","html_url":"https://github.com/macumber","followers_url":"https://api.github.com/users/macumber/followers","following_url":"https://api.github.com/users/macumber/following{/other_user}","gists_url":"https://api.github.com/users/macumber/gists{/gist_id}","starred_url":"https://api.github.com/users/macumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macumber/subscriptions","organizations_url":"https://api.github.com/users/macumber/orgs","repos_url":"https://api.github.com/users/macumber/repos","events_url":"https://api.github.com/users/macumber/events{/privacy}","received_events_url":"https://api.github.com/users/macumber/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":8,"state":"open","created_at":"2015-01-22T22:49:56Z","updated_at":"2015-02-25T16:55:04Z","due_on":"2015-03-13T06:00:00Z","closed_at":null},"comments":5,"created_at":"2014-12-04T22:01:04Z","updated_at":"2015-02-26T20:53:32Z","closed_at":null,"body":"IDF translator for exterior lights crash if there is no schedule set.  Schedules are optional since lights can be controlled by astronomical clock"},"comment":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/comments/76270498","html_url":"https://github.com/NREL/OpenStudio/issues/1297#issuecomment-76270498","issue_url":"https://api.github.com/repos/NREL/OpenStudio/issues/1297","id":76270498,"user":{"login":"kbenne","id":707488,"avatar_url":"https://avatars.githubusercontent.com/u/707488?v=3","gravatar_id":"","url":"https://api.github.com/users/kbenne","html_url":"https://github.com/kbenne","followers_url":"https://api.github.com/users/kbenne/followers","following_url":"https://api.github.com/users/kbenne/following{/other_user}","gists_url":"https://api.github.com/users/kbenne/gists{/gist_id}","starred_url":"https://api.github.com/users/kbenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbenne/subscriptions","organizations_url":"https://api.github.com/users/kbenne/orgs","repos_url":"https://api.github.com/users/kbenne/repos","events_url":"https://api.github.com/users/kbenne/events{/privacy}","received_events_url":"https://api.github.com/users/kbenne/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T20:53:32Z","updated_at":"2015-02-26T20:53:32Z","body":"It should use always on discrete.  I assumed this was written before we had that.\r\n\r\nI feel like the error is to late in translator.  The model returns Schedule not boost::optional<Schedule> so if you want to do some error processing model seems like the correct location.  You could catch in the translator but if you start up that pattern for everything that the model claims is true where do stop?"}}