{"action":"created","issue":{"url":"https://api.github.com/repos/jsreport/jsreport/issues/161","labels_url":"https://api.github.com/repos/jsreport/jsreport/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/jsreport/jsreport/issues/161/comments","events_url":"https://api.github.com/repos/jsreport/jsreport/issues/161/events","html_url":"https://github.com/jsreport/jsreport/issues/161","id":122228503,"number":161,"title":"Cannot delete template","user":{"login":"pofider","id":2041960,"avatar_url":"https://avatars.githubusercontent.com/u/2041960?v=3","gravatar_id":"","url":"https://api.github.com/users/pofider","html_url":"https://github.com/pofider","followers_url":"https://api.github.com/users/pofider/followers","following_url":"https://api.github.com/users/pofider/following{/other_user}","gists_url":"https://api.github.com/users/pofider/gists{/gist_id}","starred_url":"https://api.github.com/users/pofider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pofider/subscriptions","organizations_url":"https://api.github.com/users/pofider/orgs","repos_url":"https://api.github.com/users/pofider/repos","events_url":"https://api.github.com/users/pofider/events{/privacy}","received_events_url":"https://api.github.com/users/pofider/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jsreport/jsreport/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T09:28:02Z","updated_at":"2015-12-15T15:58:56Z","closed_at":"2015-12-15T15:58:56Z","body":"Copy from https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jsreport/jMAx2WmTlow/tnfaZuUcDAAJ\r\n```\r\n2015-12-14T23:23:32.957Z - error: TypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:9:11)\r\n    at Object.posix.join (path.js:480:5)\r\n    at Persistence.entryDirectory (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:82:15)\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:159:29\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:187:20\r\n    at iterate (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:265:13)\r\n    at Object.async.forEachOfSeries.async.eachOfSeries (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:284:9)\r\n    at Object.async.forEachSeries.async.eachSeries (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:220:22)\r\n    at Persistence.persistNewState (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:155:9)\r\n    at Datastore._remove (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/nedb/lib/datastore.js:605:20)\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/nedb/lib/executor.js:40:13\r\n    at Immediate.q.process [as _onImmediate] (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/async/lib/async.js:731:21)\r\n    at processImmediate [as _immediateCallback] (timers.js:384:17)\r\nerror!! TypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:9:11)\r\n    at Object.posix.join (path.js:480:5)\r\n    at Persistence.entryDirectory (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:82:15)\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:159:29\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:187:20\r\n    at iterate (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:265:13)\r\n    at Object.async.forEachOfSeries.async.eachOfSeries (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:284:9)\r\n    at Object.async.forEachSeries.async.eachSeries (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/node_modules/async/lib/async.js:220:22)\r\n    at Persistence.persistNewState (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/jsreport-fs-store/lib/persistence.js:155:9)\r\n    at Datastore._remove (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/nedb/lib/datastore.js:605:20)\r\n    at /Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/nedb/lib/executor.js:40:13\r\n    at Immediate.q.process [as _onImmediate] (/Users/JJH/Documents/Work/Conversant/reportingProject/jsreport/node_modules/async/lib/async.js:731:21)\r\n```"},"comment":{"url":"https://api.github.com/repos/jsreport/jsreport/issues/comments/164807321","html_url":"https://github.com/jsreport/jsreport/issues/161#issuecomment-164807321","issue_url":"https://api.github.com/repos/jsreport/jsreport/issues/161","id":164807321,"user":{"login":"pofider","id":2041960,"avatar_url":"https://avatars.githubusercontent.com/u/2041960?v=3","gravatar_id":"","url":"https://api.github.com/users/pofider","html_url":"https://github.com/pofider","followers_url":"https://api.github.com/users/pofider/followers","following_url":"https://api.github.com/users/pofider/following{/other_user}","gists_url":"https://api.github.com/users/pofider/gists{/gist_id}","starred_url":"https://api.github.com/users/pofider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pofider/subscriptions","organizations_url":"https://api.github.com/users/pofider/orgs","repos_url":"https://api.github.com/users/pofider/repos","events_url":"https://api.github.com/users/pofider/events{/privacy}","received_events_url":"https://api.github.com/users/pofider/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T15:58:56Z","updated_at":"2015-12-15T15:58:56Z","body":"Fix included in release 0.11.0"}}