{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/12477","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/12477/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/12477/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/12477/events","html_url":"https://github.com/grafana/grafana/issues/12477","id":337436511,"node_id":"MDU6SXNzdWUzMzc0MzY1MTE=","number":12477,"title":"Snapshots / TypeError: Cannot read property 'length' of undefined true","user":{"login":"MPopti0n","id":36873863,"node_id":"MDQ6VXNlcjM2ODczODYz","avatar_url":"https://avatars3.githubusercontent.com/u/36873863?v=4","gravatar_id":"","url":"https://api.github.com/users/MPopti0n","html_url":"https://github.com/MPopti0n","followers_url":"https://api.github.com/users/MPopti0n/followers","following_url":"https://api.github.com/users/MPopti0n/following{/other_user}","gists_url":"https://api.github.com/users/MPopti0n/gists{/gist_id}","starred_url":"https://api.github.com/users/MPopti0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MPopti0n/subscriptions","organizations_url":"https://api.github.com/users/MPopti0n/orgs","repos_url":"https://api.github.com/users/MPopti0n/repos","events_url":"https://api.github.com/users/MPopti0n/events{/privacy}","received_events_url":"https://api.github.com/users/MPopti0n/received_events","type":"User","site_admin":false},"labels":[{"id":120793823,"node_id":"MDU6TGFiZWwxMjA3OTM4MjM=","url":"https://api.github.com/repos/grafana/grafana/labels/state:%20needs%20more%20detail","name":"state: needs more detail","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T09:23:59Z","updated_at":"2018-07-02T11:19:37Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n**Informations:**\r\n\r\n- Grafana `v5.1.4` (a5fe24fcc) with Influxdb `v1.5.3` (Chronograf `v1.5.0.1`) on Win 10 with Google Chrome and Firefox up to date\r\n\r\nCreated a snapshot (some snapshots!) with [api/snapshots](url) and it's working fine \r\n\r\n```\r\n{\r\n\"deleteKey\":\"w7JjEtV39DjT12YTmtvdU3bYj...\",\r\n\"deleteUrl\":\"http://localhost:8886/api/snapshots-delete/w7JjEtV39DjT12YTmtvdU3...\",\r\n\"key\":\"J7eDqAhWQJUje8PjPeLCWkNda9...\",\r\n\"url\":\"http://###.###.#.###:####/dashboard/snapshot/J7eDqAhWQJUje8PjPeLCWkN...\"\r\n}\r\n```\r\nBut when I go to the URL (or try to view directly in the snapshot menu of the frontend) it's loading the fontend but I get and error : \r\n```\r\nTypeError: Cannot read property 'length' of undefined true\r\n```\r\n![2018-07-02 2](https://user-images.githubusercontent.com/36873863/42155764-44555e5c-7db7-11e8-97b7-3a1143856c13.png)\r\n\r\n### Raw network request & response: \r\n \r\n```\r\nwarning rootScope onAppEvent called without localscope\r\ngrafana_app.ts:59 warning rootScope onAppEvent called without localscope\r\n0.5c89ac3fc7a3e78b3629.js:36876 TypeError: Cannot read property 'length' of undefined\r\n    at e.upgradeToGridLayout (dashboard_migration.ts:484)\r\n    at e.updateSchema (dashboard_migration.ts:423)\r\n    at e.updateSchema (dashboard_model.ts:762)\r\n    at new e (dashboard_model.ts:83)\r\n    at t.create (dashboard_srv.ts:131)\r\n    at t.setupDashboardInternal (dashboard_ctrl.ts:157)\r\n    at t.setupDashboard (dashboard_ctrl.ts:147)\r\n    at t.init (history.ts:67)\r\n    at e.initDashboard (grafana_app.ts:54)\r\n    at app.5372b9bbcb8c6d1c027e.js:30629 true\r\n```"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/401772397","html_url":"https://github.com/grafana/grafana/issues/12477#issuecomment-401772397","issue_url":"https://api.github.com/repos/grafana/grafana/issues/12477","id":401772397,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTc3MjM5Nw==","user":{"login":"torkelo","id":10999,"node_id":"MDQ6VXNlcjEwOTk5","avatar_url":"https://avatars3.githubusercontent.com/u/10999?v=4","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T11:19:37Z","updated_at":"2018-07-02T11:19:37Z","author_association":"MEMBER","body":"> Created a snapshot (some snapshots!) with api/snapshots and it's working fine \r\n\r\nCan you describe what did there? What did you send to this API? "}}
{"actor":{"display_login":"torkelo"}}