{"action":"created","issue":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/617","labels_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/617/comments","events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/617/events","html_url":"https://github.com/apinf/api-umbrella-dashboard/issues/617","id":116333095,"number":617,"title":"Exception while invoking method 'getChartData' Error: IndexMissingException[[api-umbrella-logs-v1-2015-01] missing]","user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels/dashboard","name":"dashboard","color":"c7def8"},{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-11T13:07:28Z","updated_at":"2015-11-11T13:59:13Z","closed_at":null,"body":"On the dashboard when interacting with the filter, the following exception is logged when only the month has been selected:\r\n\r\n```\r\nException while invoking method 'getChartData' Error:  IndexMissingException[[api-umbrella-logs-v1-2015-01] missing]\r\nat Object.search (packages/meteorhacks_async/packages/meteorhacks_async.js:79:1)\r\nat [object Object].doSearch (packages/frenchbread_elastic-rest/packages/frenchbread_elastic-rest.js:59:1)\r\nat [object Object].Meteor.methods.getChartData (server/methods/elasticSearch.js:45:1)\r\n```\r\nAdditionally, the 'Data Not Found' dialogue appears, suggesting the dashboard filter is **missing exception handling** when retrieving data from Elastic.\r\n\r\n# Steps to reproduce\r\n1. log in to the system as an admin user (to ensure you can access analytics data)\r\n1. go to the dashboard\r\n1. click a month from the dropdown (e.g. January)\r\n1. check the server console\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/comments/155790666","html_url":"https://github.com/apinf/api-umbrella-dashboard/issues/617#issuecomment-155790666","issue_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/617","id":155790666,"user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T13:59:13Z","updated_at":"2015-11-11T13:59:13Z","body":"Check the tap:i18n docs. It has a JS function to get a translation string."}}