{"action":"created","issue":{"url":"https://api.github.com/repos/louischatriot/nedb/issues/259","labels_url":"https://api.github.com/repos/louischatriot/nedb/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/louischatriot/nedb/issues/259/comments","events_url":"https://api.github.com/repos/louischatriot/nedb/issues/259/events","html_url":"https://github.com/louischatriot/nedb/issues/259","id":62834743,"number":259,"title":"iojs test fail","user":{"login":"rumkin","id":609373,"avatar_url":"https://avatars.githubusercontent.com/u/609373?v=3","gravatar_id":"","url":"https://api.github.com/users/rumkin","html_url":"https://github.com/rumkin","followers_url":"https://api.github.com/users/rumkin/followers","following_url":"https://api.github.com/users/rumkin/following{/other_user}","gists_url":"https://api.github.com/users/rumkin/gists{/gist_id}","starred_url":"https://api.github.com/users/rumkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumkin/subscriptions","organizations_url":"https://api.github.com/users/rumkin/orgs","repos_url":"https://api.github.com/users/rumkin/repos","events_url":"https://api.github.com/users/rumkin/events{/privacy}","received_events_url":"https://api.github.com/users/rumkin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T00:32:18Z","updated_at":"2015-04-02T07:06:51Z","closed_at":"2015-04-02T07:06:51Z","body":"Test fails. Output:\r\n```\r\n1) Database Insert If a bulk insert violates a constraint, all changes are rolled back:\r\n     SyntaxError: Unexpected end of input\r\n      at Object.parse (native)\r\n      at Object.deserialize (/apps/crypti/node_modules/nedb/lib/model.js:90:15)\r\n      at /apps/crypti/node_modules/nedb/test/db.test.js:261:40\r\n      at callback (/apps/crypti/node_modules/nedb/lib/executor.js:30:17)\r\n      at Cursor.execFn (/apps/crypti/node_modules/nedb/lib/datastore.js:424:12)\r\n      at Cursor._exec (/apps/crypti/node_modules/nedb/lib/cursor.js:172:17)\r\n      at /apps/crypti/node_modules/nedb/lib/executor.js:40:13\r\n      at Object.q.process (/apps/crypti/node_modules/nedb/node_modules/async/lib/async.js:731:21)\r\n      at next (/apps/crypti/node_modules/nedb/node_modules/async/lib/async.js:728:27)\r\n      at Immediate._onImmediate (/apps/crypti/node_modules/nedb/node_modules/async/lib/async.js:24:16)\r\n      at processImmediate [as _immediateCallback] (timers.js:321:17)\r\n\r\n  2) Model Modifying documents Throw an error if a modifier is used with a non-object argument:\r\n     AssertionError: expected [Function] to throw an error\r\n```\r\niojs 1.2.0, ubuntu 14.04, i686."},"comment":{"url":"https://api.github.com/repos/louischatriot/nedb/issues/comments/88783087","html_url":"https://github.com/louischatriot/nedb/issues/259#issuecomment-88783087","issue_url":"https://api.github.com/repos/louischatriot/nedb/issues/259","id":88783087,"user":{"login":"louischatriot","id":926355,"avatar_url":"https://avatars.githubusercontent.com/u/926355?v=3","gravatar_id":"","url":"https://api.github.com/users/louischatriot","html_url":"https://github.com/louischatriot","followers_url":"https://api.github.com/users/louischatriot/followers","following_url":"https://api.github.com/users/louischatriot/following{/other_user}","gists_url":"https://api.github.com/users/louischatriot/gists{/gist_id}","starred_url":"https://api.github.com/users/louischatriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louischatriot/subscriptions","organizations_url":"https://api.github.com/users/louischatriot/orgs","repos_url":"https://api.github.com/users/louischatriot/repos","events_url":"https://api.github.com/users/louischatriot/events{/privacy}","received_events_url":"https://api.github.com/users/louischatriot/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T07:06:51Z","updated_at":"2015-04-02T07:06:51Z","body":"Seems like an issue with your machine, the piece of code that throws is part of node libs not nedb and this has not been reported by anyone else. Closing this for now, will reopen if someone else confirms this is a bug."}}