{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/296","repository_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/296/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/296/events","html_url":"https://github.com/strongloop/loopback-connector-mongodb/issues/296","id":183658516,"number":296,"title":"Release version 1.17 throws type errors ","user":{"login":"jamesjjk","id":13486303,"avatar_url":"https://avatars.githubusercontent.com/u/13486303?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesjjk","html_url":"https://github.com/jamesjjk","followers_url":"https://api.github.com/users/jamesjjk/followers","following_url":"https://api.github.com/users/jamesjjk/following{/other_user}","gists_url":"https://api.github.com/users/jamesjjk/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesjjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesjjk/subscriptions","organizations_url":"https://api.github.com/users/jamesjjk/orgs","repos_url":"https://api.github.com/users/jamesjjk/repos","events_url":"https://api.github.com/users/jamesjjk/events{/privacy}","received_events_url":"https://api.github.com/users/jamesjjk/received_events","type":"User","site_admin":false},"labels":[{"id":172082193,"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/labels/major","name":"major","color":"eb6420","default":false},{"id":172082117,"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/labels/triage","name":"triage","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"assignees":[{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-10-18T11:21:34Z","updated_at":"2016-11-21T15:48:53Z","closed_at":null,"body":"Release version 1.17 is throwing DB type errors.\n\nUsing Loopback version 2.29\njuggler version 2.46.1\nmongodb 3.0.7\n\nDowngrading to version: 1.15.2 resolves the issue.\n\nFull log output:\n\n```\n2016-10-18T10:34:30.349669365Z 2016-10-18-10:34:30 1|start    | TypeError: Argument must be a string\n2016-10-18T10:34:30.349914461Z 2016-10-18-10:34:30 1|start    |     at TypeError (native)\n2016-10-18T10:34:30.350120373Z 2016-10-18-10:34:30 1|start    |     at Buffer.write (buffer.js:575:21)\n2016-10-18T10:34:30.350369775Z 2016-10-18-10:34:30 1|start    |     at serializeObjectId (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:242:10)\n2016-10-18T10:34:30.350597423Z 2016-10-18-10:34:30 1|start    |     at serializeInto (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:545:17)\n2016-10-18T10:34:30.350894807Z 2016-10-18-10:34:30 1|start    |     at serializeObject (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:280:18)\n2016-10-18T10:34:30.351142508Z 2016-10-18-10:34:30 1|start    |     at serializeInto (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:705:17)\n2016-10-18T10:34:30.351351455Z 2016-10-18-10:34:30 1|start    |     at serializeObject (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:280:18)\n2016-10-18T10:34:30.351607717Z 2016-10-18-10:34:30 1|start    |     at serializeInto (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:705:17)\n2016-10-18T10:34:30.351865272Z 2016-10-18-10:34:30 1|start    |     at serializeObject (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:280:18)\n2016-10-18T10:34:30.352122599Z 2016-10-18-10:34:30 1|start    |     at serializeInto (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/parser/serializer.js:705:17)\n2016-10-18T10:34:30.352353600Z 2016-10-18-10:34:30 1|start    |     at [object Object].serialize (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/bson.js:47:27)\n2016-10-18T10:34:30.352665336Z 2016-10-18-10:34:30 1|start    |     at [object Object].Query.toBin (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/commands.js:146:25)\n2016-10-18T10:34:30.353127833Z 2016-10-18-10:34:30 1|start    |     at [object Object].Cursor._find (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:263:30)\n2016-10-18T10:34:30.353289964Z 2016-10-18-10:34:30 1|start    |     at nextFunction (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:576:10)\n2016-10-18T10:34:30.353532900Z 2016-10-18-10:34:30 1|start    |     at [object Object].Cursor.next [as _next] (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:693:3)\n2016-10-18T10:34:30.353774841Z 2016-10-18-10:34:30 1|start    |     at fetchDocs (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/cursor.js:835:10)\n2016-10-18T10:34:30.354012190Z 2016-10-18-10:34:30 1|start    |     at toArray (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/cursor.js:862:3)\n2016-10-18T10:34:30.354264772Z 2016-10-18-10:34:30 1|start    |     at [object Object].Cursor.toArray (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/cursor.js:815:44)\n2016-10-18T10:34:30.354497486Z 2016-10-18-10:34:30 1|start    |     at processResponse (/src/node_modules/loopback-connector-mongodb/lib/mongodb.js:874:12)\n2016-10-18T10:34:30.354771347Z 2016-10-18-10:34:30 1|start    |     at /src/node_modules/loopback-datasource-juggler/lib/observer.js:171:22\n2016-10-18T10:34:30.355011023Z 2016-10-18-10:34:30 1|start    |     at doNotify (/src/node_modules/loopback-datasource-juggler/lib/observer.js:98:49)\n2016-10-18T10:34:30.355253794Z 2016-10-18-10:34:30 1|start    |     at MongoDB.ObserverMixin._notifyBaseObservers (/src/node_modules/loopback-datasource-juggler/lib/observer.js:121:5)\n2016-10-18T10:34:30.355493211Z 2016-10-18-10:34:30 1|start    |     at MongoDB.ObserverMixin.notifyObserversOf (/src/node_modules/loopback-datasource-juggler/lib/observer.js:96:8)\n2016-10-18T10:34:30.355713229Z 2016-10-18-10:34:30 1|start    |     at cbForWork (/src/node_modules/loopback-datasource-juggler/lib/observer.js:161:14)\n2016-10-18T10:34:30.355942300Z 2016-10-18-10:34:30 1|start    |     at args.(anonymous function) (/src/node_modules/loopback-connector-mongodb/lib/mongodb.js:276:7)\n2016-10-18T10:34:30.356164773Z 2016-10-18-10:34:30 1|start    |     at handleCallback (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/utils.js:96:12)\n2016-10-18T10:34:30.356630240Z 2016-10-18-10:34:30 1|start    |     at [object Object].Collection.find (/src/node_modules/loopback-connector-mongodb/node_modules/mongodb/lib/collection.js:354:44)\n2016-10-18T10:34:30.356875290Z 2016-10-18-10:34:30 1|start    |     at /src/node_modules/loopback-connector-mongodb/lib/mongodb.js:279:32\n2016-10-18T10:34:30.357157059Z 2016-10-18-10:34:30 1|start    |     at /src/node_modules/loopback-datasource-juggler/lib/observer.js:180:9\n2016-10-18T10:34:30.357385260Z 2016-10-18-10:34:30 1|start    |     at doNotify (/src/node_modules/loopback-datasource-juggler/lib/observer.js:98:49)\n2016-10-18T10:34:30.357617047Z 2016-10-18-10:34:30 1|start    |     at MongoDB.ObserverMixin._notifyBaseObservers (/src/node_modules/loopback-datasource-juggler/lib/observer.js:121:5)\n2016-10-18T10:34:30.357849931Z 2016-10-18-10:34:30 1|start    |     at MongoDB.ObserverMixin.notifyObserversOf (/src/node_modules/loopback-datasource-juggler/lib/observer.js:96:8)\n2016-10-18T10:34:30.358083052Z 2016-10-18-10:34:30 1|start    |     at MongoDB.ObserverMixin.notifyObserversAround (/src/node_modules/loopback-datasource-juggler/lib/observer.js:149:15)\n```\n"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/comments/261975853","html_url":"https://github.com/strongloop/loopback-connector-mongodb/issues/296#issuecomment-261975853","issue_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/296","id":261975853,"user":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T15:48:52Z","updated_at":"2016-11-21T15:48:52Z","body":"@Jeff-Lewis Also please note that the latest juggler 2.x version is 2.53.0, please update your juggler to 2.53.0 and see if that will solve your problem."}}
{"actor":{"display_login":"jannyHou"}}