{"action":"created","issue":{"url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/3","repository_url":"https://api.github.com/repos/raphinesse/angular-crumble","labels_url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/3/comments","events_url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/3/events","html_url":"https://github.com/raphinesse/angular-crumble/issues/3","id":146925224,"number":3,"title":"TypeError: Cannot read property 'length' of undefined","user":{"login":"z3ntu","id":3768500,"avatar_url":"https://avatars.githubusercontent.com/u/3768500?v=3","gravatar_id":"","url":"https://api.github.com/users/z3ntu","html_url":"https://github.com/z3ntu","followers_url":"https://api.github.com/users/z3ntu/followers","following_url":"https://api.github.com/users/z3ntu/following{/other_user}","gists_url":"https://api.github.com/users/z3ntu/gists{/gist_id}","starred_url":"https://api.github.com/users/z3ntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3ntu/subscriptions","organizations_url":"https://api.github.com/users/z3ntu/orgs","repos_url":"https://api.github.com/users/z3ntu/repos","events_url":"https://api.github.com/users/z3ntu/events{/privacy}","received_events_url":"https://api.github.com/users/z3ntu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-08T13:09:32Z","updated_at":"2016-04-08T16:00:02Z","closed_at":"2016-04-08T14:48:31Z","body":"Hello,\r\nI can't seem to get crumble to work for my project. When I call `crumble.update({title: \"sometitle\"});`, I get the stacktrace \r\n\r\n> angular.js:13424 TypeError: Cannot read property 'length' of undefined\r\n    at k (http://localhost:5000/bower_components/angular/angular.min.js:102:437)\r\n    at Object.crumble.getCrumb (http://localhost:5000/bower_components/angular-crumble/crumble.js:28:16)\r\n    at build (http://localhost:5000/bower_components/angular-crumble/crumble.js:43:57)\r\n    at Object.crumble.update (http://localhost:5000/bower_components/angular-crumble/crumble.js:12:23)\r\n    at new <anonymous> (http://localhost:5000/js/honeypot.js:177:13)\r\n    at Object.instantiate (http://localhost:5000/bower_components/angular/angular.min.js:41:396)\r\n    at http://localhost:5000/bower_components/angular/angular.min.js:88:341\r\n    at link (http://localhost:5000/bower_components/angular-route/angular-route.min.js:7:274)\r\n    at ja (http://localhost:5000/bower_components/angular/angular.min.js:80:35)\r\n    at n (http://localhost:5000/bower_components/angular/angular.min.js:65:220) <div ng-view=\"\" class=\"main-insert-view ng-scope\">\r\n\r\n. although the same code works fine in another line.\r\nSource code for the whole project (specifically the JS & HTML code) is here: [link](https://github.com/MadeInSpengergasse/Honeypot/tree/crumble/static).\r\nJavascript file is in the `js` folder, main page is the `index.html` file.\r\nDo you know, what I did wrong? Thanks!"},"comment":{"url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/comments/207493142","html_url":"https://github.com/raphinesse/angular-crumble/issues/3#issuecomment-207493142","issue_url":"https://api.github.com/repos/raphinesse/angular-crumble/issues/3","id":207493142,"user":{"login":"z3ntu","id":3768500,"avatar_url":"https://avatars.githubusercontent.com/u/3768500?v=3","gravatar_id":"","url":"https://api.github.com/users/z3ntu","html_url":"https://github.com/z3ntu","followers_url":"https://api.github.com/users/z3ntu/followers","following_url":"https://api.github.com/users/z3ntu/following{/other_user}","gists_url":"https://api.github.com/users/z3ntu/gists{/gist_id}","starred_url":"https://api.github.com/users/z3ntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3ntu/subscriptions","organizations_url":"https://api.github.com/users/z3ntu/orgs","repos_url":"https://api.github.com/users/z3ntu/repos","events_url":"https://api.github.com/users/z3ntu/events{/privacy}","received_events_url":"https://api.github.com/users/z3ntu/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T16:00:02Z","updated_at":"2016-04-08T16:00:02Z","body":"I got something that works for now! [my superDynamicParentFinderStrategyMethod](https://github.com/MadeInSpengergasse/Honeypot/blob/439804f4c9aa0ec0439ebc693e7db6449a096ad5/static/js/honeypot.js#L54) :D Thanks!!"}}