{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/10308","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/10308/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/10308/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/10308/events","html_url":"https://github.com/cms-sw/cmssw/issues/10308","id":96621830,"number":10308,"title":"NoRecordException interface improvement","user":{"login":"diguida","id":5444102,"avatar_url":"https://avatars.githubusercontent.com/u/5444102?v=3","gravatar_id":"","url":"https://api.github.com/users/diguida","html_url":"https://github.com/diguida","followers_url":"https://api.github.com/users/diguida/followers","following_url":"https://api.github.com/users/diguida/following{/other_user}","gists_url":"https://api.github.com/users/diguida/gists{/gist_id}","starred_url":"https://api.github.com/users/diguida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diguida/subscriptions","organizations_url":"https://api.github.com/users/diguida/orgs","repos_url":"https://api.github.com/users/diguida/repos","events_url":"https://api.github.com/users/diguida/events{/privacy}","received_events_url":"https://api.github.com/users/diguida/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-22T17:26:45Z","updated_at":"2015-07-23T15:34:40Z","closed_at":null,"body":"Dear FWK experts,\r\nwith the deployment of the \"frozen GT\", an issue appeared during MWGR (events with timestamp 0 by TCDS where crashing in prompt reco due to the ECAL laser corrections being served with timestamp-based IOV starting from 1) is now becoming more important.\r\n\r\nI am referring to the fact that the `NoRecordException` reports a record as missing.\r\n\r\n````\r\n----- Begin Fatal Exception 22-Jul-2015 14:55:35 CEST-----------------------\r\n\r\nAn exception of category 'NoRecord' occurred while\r\n\r\n   [0] Processing run: 194533 lumi: 329 event: 461582793\r\n\r\n   [1] Running path 'L1RePack_step'\r\n\r\n   [2] Calling event method for module L1GlobalTriggerRawToDigi/'unpackGtDigis'\r\n\r\nException Message:\r\n\r\nNo \"L1MuTriggerScalesRcd\" record found in the EventSetup.\r\n\r\n Please add an ESSource or ESProducer that delivers such a record.\r\n\r\n----- End Fatal Exception -------------------------------------------------\r\n````\r\n\r\nActually, the associated tag in the GT is loaded from the Database, but no \"valid\" validity interval is associated (i.e. run, lumi and timestamp are set to 0) by the `CondDBESSource::setIntervalFor` call.\r\n\r\nWe would like to request either to add in this exception the check on the validity interval in EDM, or to create a new kind of exception, e.g. `NoValidityIntervalForRecordException` thrown when such a failure occurs.\r\n\r\nI am glad to help in the code implementation.\r\n\r\n@mmusich @ggovi this is something you might want to comment."},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/124142088","html_url":"https://github.com/cms-sw/cmssw/issues/10308#issuecomment-124142088","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/10308","id":124142088,"user":{"login":"ggovi","id":4631538,"avatar_url":"https://avatars.githubusercontent.com/u/4631538?v=3","gravatar_id":"","url":"https://api.github.com/users/ggovi","html_url":"https://github.com/ggovi","followers_url":"https://api.github.com/users/ggovi/followers","following_url":"https://api.github.com/users/ggovi/following{/other_user}","gists_url":"https://api.github.com/users/ggovi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggovi/subscriptions","organizations_url":"https://api.github.com/users/ggovi/orgs","repos_url":"https://api.github.com/users/ggovi/repos","events_url":"https://api.github.com/users/ggovi/events{/privacy}","received_events_url":"https://api.github.com/users/ggovi/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T15:34:40Z","updated_at":"2015-07-23T15:34:40Z","body":"@Dr15Jones\r\n\r\nwhat are the other possible reasons causing the NoRecordException ( else than no IOV available )?\r\n"}}