{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/3154","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/3154/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/3154/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/3154/events","html_url":"https://github.com/balderdashy/sails/issues/3154","id":101151684,"number":3154,"title":"TypeError: Expecting a function in instanceof check, but got #<bound>","user":{"login":"dularion","id":936076,"avatar_url":"https://avatars.githubusercontent.com/u/936076?v=3","gravatar_id":"","url":"https://api.github.com/users/dularion","html_url":"https://github.com/dularion","followers_url":"https://api.github.com/users/dularion/followers","following_url":"https://api.github.com/users/dularion/following{/other_user}","gists_url":"https://api.github.com/users/dularion/gists{/gist_id}","starred_url":"https://api.github.com/users/dularion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dularion/subscriptions","organizations_url":"https://api.github.com/users/dularion/orgs","repos_url":"https://api.github.com/users/dularion/repos","events_url":"https://api.github.com/users/dularion/events{/privacy}","received_events_url":"https://api.github.com/users/dularion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balderdashy/sails/labels/error","name":"error","color":"FF3366"},{"url":"https://api.github.com/repos/balderdashy/sails/labels/needs%20complete%20example","name":"needs complete example","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-15T08:24:50Z","updated_at":"2015-09-23T19:53:14Z","closed_at":null,"body":"When trying to change an existing user-record using a POST on localhost:1337/api/user/1 I get the following: \r\n\r\n```\r\n/Users/antonia/dev/projects/streama/streama-node/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Parser.js:82\r\n        throw err;\r\n              ^\r\nTypeError: Expecting a function in instanceof check, but got #<bound>\r\n    at _hasBinary (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/has-binary-data/index.js:30:41)\r\n    at hasBinary (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/has-binary-data/index.js:56:10)\r\n    at Namespace.emit (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/sails-hook-sockets/node_modules/socket.io/lib/namespace.js:210:9)\r\n    at Object.broadcastToRoom [as broadcast] (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/sails-hook-sockets/lib/sails.sockets/broadcast-to-room.js:51:33)\r\n    at bound.broadcast (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/lib/hooks/pubsub/index.js:122:23)\r\n    at eachInstance (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/lib/hooks/pubsub/index.js:253:18)\r\n    at Function.forEach (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/lodash/dist/lodash.js:3298:15)\r\n    at bound.publish (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/lib/hooks/pubsub/index.js:250:13)\r\n    at bound [as publish] (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)\r\n    at bound.publishUpdate (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/lib/hooks/pubsub/index.js:708:14)\r\n    at bound [as publishUpdate] (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)\r\n    at updated (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/lib/hooks/blueprints/actions/update.js:71:15)\r\n    at wrapper (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/waterline/node_modules/lodash/index.js:3602:19)\r\n    at applyInOriginalCtx (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)\r\n    at wrappedCallback (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:320:18)\r\n    at callback.success (/Users/antonia/dev/projects/streama/streama-node/node_modules/sails/node_modules/waterline/node_modules/switchback/lib/normalize.js:33:31)\r\n```\r\n\r\nAny Idea what this may be about? Saving new records works fine.. "},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/142710269","html_url":"https://github.com/balderdashy/sails/issues/3154#issuecomment-142710269","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/3154","id":142710269,"user":{"login":"juanpasolano","id":1621720,"avatar_url":"https://avatars.githubusercontent.com/u/1621720?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpasolano","html_url":"https://github.com/juanpasolano","followers_url":"https://api.github.com/users/juanpasolano/followers","following_url":"https://api.github.com/users/juanpasolano/following{/other_user}","gists_url":"https://api.github.com/users/juanpasolano/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpasolano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpasolano/subscriptions","organizations_url":"https://api.github.com/users/juanpasolano/orgs","repos_url":"https://api.github.com/users/juanpasolano/repos","events_url":"https://api.github.com/users/juanpasolano/events{/privacy}","received_events_url":"https://api.github.com/users/juanpasolano/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T19:53:14Z","updated_at":"2015-09-23T19:53:14Z","body":"I am getting the same error, right after updating to sails 0.11."}}