MeteorToys / meteor-devtools

Insanely Handy Development Tools for Meteor
http://meteor.toys
Other
95 stars 7 forks source link

Exception while invoking method 'Mongol_update' Error: Meteor requires document _id fields to be non-empty strings or ObjectIDs #107

Open Telokis opened 7 years ago

Telokis commented 7 years ago

I have an error whenever I try to update a document from mongol in my meteor app.

Exception while invoking method 'Mongol_update' Error: Meteor requires document _id fields to be non-empty strings or ObjectIDs keeps showing up and the object is not updated.

Here is the object I try to update:

{
  "_id": {
    "_str": "59f1cf4fd021a74dab40d5b4"
  },
  "id": "dd29b4bd-8124-4031-a827-e9813947ff4d",
  "value": 0,
  "date": "2017-10-26T12:04:46.148Z"
}

Here is the list of all meteor packages I currently have:


blaze-html-templates   1.1.2  Compile HTML templates into reactive UI with Meteor Blaze
ecmascript             0.8.3  Compiler plugin that supports ES2015+ in all .js files
es5-shim               4.6.15  Shims and polyfills to improve ECMAScript 5 support
meteor-base            1.1.0  Packages that every Meteor app needs
meteortoys:allthings   4.0.0  Insanely Handy Development Tools
meteortoys:toggle      4.0.0  An on-screen toggle to open Meteor Toys
mobile-experience      1.0.5  Packages for a great mobile user experience
mongo                  1.2.2  Adaptor for using MongoDB and Minimongo over DDP
msavin:mongol          4.0.1  In-App MongoDB Editor.. now with improved third party package compatibility.
react-meteor-data      0.2.13* React higher-order component for reactively tracking Meteor data
reactive-var           1.0.11  Reactive variable
session                1.1.7  Session variable
shell-server           0.2.4  Server-side component of the `meteor shell` command.
standard-minifier-css  1.3.5  Standard css minifier used with Meteor apps by default.
standard-minifier-js   2.1.2  Standard javascript minifiers used with Meteor apps by default.
tracker                1.1.3  Dependency tracker to allow reactive callbacks```
Telokis commented 7 years ago

Here is a picture in case it might help. http://prntscr.com/h2bbcf