{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/timelion/issues/155","repository_url":"https://api.github.com/repos/elastic/timelion","labels_url":"https://api.github.com/repos/elastic/timelion/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/elastic/timelion/issues/155/comments","events_url":"https://api.github.com/repos/elastic/timelion/issues/155/events","html_url":"https://github.com/elastic/timelion/issues/155","id":165999305,"number":155,"title":"TypeError: Cannot read property 'timeFieldName' of undefined","user":{"login":"Prazzy","id":274357,"avatar_url":"https://avatars.githubusercontent.com/u/274357?v=3","gravatar_id":"","url":"https://api.github.com/users/Prazzy","html_url":"https://github.com/Prazzy","followers_url":"https://api.github.com/users/Prazzy/followers","following_url":"https://api.github.com/users/Prazzy/following{/other_user}","gists_url":"https://api.github.com/users/Prazzy/gists{/gist_id}","starred_url":"https://api.github.com/users/Prazzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prazzy/subscriptions","organizations_url":"https://api.github.com/users/Prazzy/orgs","repos_url":"https://api.github.com/users/Prazzy/repos","events_url":"https://api.github.com/users/Prazzy/events{/privacy}","received_events_url":"https://api.github.com/users/Prazzy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-17T22:23:48Z","updated_at":"2016-07-18T14:49:54Z","closed_at":"2016-07-18T14:49:54Z","body":"I have an app plugin \"GCS4GQOS\" and I am seeing below error after adding timelion chart to dashboard via \"app/GCS4GQOS\". However it works fine with \"app/kibana\" url.\r\n```\r\nGCS4GQOS.bundle.js?v=9889:39619 TypeError: Cannot read property 'timeFieldName' of undefined\r\n    at Timefilter.get (GCS4GQOS.bundle.js?v=9889:134283)\r\n    at GCS4GQOS.bundle.js?v=9889:143662\r\n    at SearchSourceFactory.SearchSource._mergeProp (GCS4GQOS.bundle.js?v=9889:142984)\r\n    at ittr (GCS4GQOS.bundle.js?v=9889:141680)\r\n    at GCS4GQOS.bundle.js?v=9889:7719\r\n    at GCS4GQOS.bundle.js?v=9889:8517\r\n    at baseForOwn (GCS4GQOS.bundle.js?v=9889:7490)\r\n    at GCS4GQOS.bundle.js?v=9889:8487\r\n    at baseMap (GCS4GQOS.bundle.js?v=9889:7718)\r\n    at Function.map (GCS4GQOS.bundle.js?v=9889:12154)\r\n```\r\n\r\n> \r\n> Timefilter.prototype.get = function (indexPattern) {\r\n> \t      var filter;\r\n> \t      **_var timefield = indexPattern.timeFieldName && _.find(indexPattern.fields, { name: indexPattern.timeFieldName });_**\r\n\r\n\r\nAny help would be appreciated."}}
{"actor":{"display_login":"rashidkpc"}}