{"action":"opened","issue":{"url":"https://api.github.com/repos/jfurrow/flood/issues/15","repository_url":"https://api.github.com/repos/jfurrow/flood","labels_url":"https://api.github.com/repos/jfurrow/flood/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jfurrow/flood/issues/15/comments","events_url":"https://api.github.com/repos/jfurrow/flood/issues/15/events","html_url":"https://github.com/jfurrow/flood/issues/15","id":158232992,"number":15,"title":"TypeError if rtorrent has no torrent at all","user":{"login":"gretel","id":80815,"avatar_url":"https://avatars.githubusercontent.com/u/80815?v=3","gravatar_id":"","url":"https://api.github.com/users/gretel","html_url":"https://github.com/gretel","followers_url":"https://api.github.com/users/gretel/followers","following_url":"https://api.github.com/users/gretel/following{/other_user}","gists_url":"https://api.github.com/users/gretel/gists{/gist_id}","starred_url":"https://api.github.com/users/gretel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gretel/subscriptions","organizations_url":"https://api.github.com/users/gretel/orgs","repos_url":"https://api.github.com/users/gretel/repos","events_url":"https://api.github.com/users/gretel/events{/privacy}","received_events_url":"https://api.github.com/users/gretel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-02T20:32:41Z","updated_at":"2016-06-02T20:32:41Z","closed_at":null,"body":"```\r\nGET /client/settings?property=sortTorrents 304 80.846 ms - -\r\nTypeError: Cannot read property 'length' of undefined\r\n    at Object.clientUtil.mapClientProps (/usr/home/tom/src/flood/server/util/clientUtil.js:227:16)\r\n    at TorrentCollection.updateTorrents (/usr/home/tom/src/flood/server/models/TorrentCollection.js:75:34)\r\n    at ClientRequest.request.postProcess [as postProcessFn] (/usr/home/tom/src/flood/server/models/client.js:95:26)\r\n    at ClientRequest.handleSuccess (/usr/home/tom/src/flood/server/models/ClientRequest.js:78:23)\r\n    at _fulfilled (/usr/home/tom/src/flood/node_modules/q/q.js:834:54)\r\n    at self.promiseDispatch.done (/usr/home/tom/src/flood/node_modules/q/q.js:863:30)\r\n    at Promise.promise.promiseDispatch (/usr/home/tom/src/flood/node_modules/q/q.js:796:13)\r\n    at /usr/home/tom/src/flood/node_modules/q/q.js:604:44\r\n    at runSingle (/usr/home/tom/src/flood/node_modules/q/q.js:137:13)\r\n    at flush (/usr/home/tom/src/flood/node_modules/q/q.js:125:13)\r\n```\r\nas soon as the amount of torrents is larger than zero it starts to load fine."}}
{"actor":{"display_login":"gretel"}}