Urigo / angular-meteor

Angular and Meteor - The perfect stack
https://www.angular-meteor.com/
MIT License
2.36k stars 623 forks source link

update failed: MongoError: '$unset' is empty. #141

Closed ghost closed 9 years ago

ghost commented 9 years ago

I'm getting this error with $meteorObject on mongodb v.2.6.5 update failed: MongoError: '$unset' is empty. You must specify a field like so: {$mod: {: ...}} btw in my developer machine everythings works fine. Am I doing something wrong or is this an issue ?

Urigo commented 9 years ago

I think Meteor officially support only mongodb 2.4 as of today. But maybe I'm wrong?

ghost commented 9 years ago

I found the problem.I was using the "zimme:collection-softremovable" package.I removed it and problem solved. But somehow angular-meteor and softremovable conflicts. I did not dig the issue in deep because I can do with other ways what softremovable does. angular-meteor works perfectly with mongodb v.2.6.5 and above. You can close this issue.Thanks.

Urigo commented 9 years ago

How did you use Mongo 2.6.5? Do you use the search option it has?

ghost commented 9 years ago

Not yet but I am thinking about it.Just trying to figure out that I really need to use it on my project.I am using it for oplog tailing actually.

Urigo commented 9 years ago

Closing