8

I am working on a project which is using meteor 0.7.2 and it is working fine. After updating to meteor 0.8.2 I am facing an issue.

When I insert an object to the collection from client side immediately the collection is empty and then it's reloading the data. This is happening some times when I update the collection object as well.

This is only happening to one collection. Other collection are working fine.

I am using iron-router and JQuery Sortable.

Can someone please help me on this? (I feel like there is a conflict happens between minimongo and the master when insert or update. If this is the case why is that happening)

Kara
  • 6,115
  • 16
  • 50
  • 57
Rasekaran
  • 334
  • 2
  • 12

3 Answers3

0

It would be great if you could share code which makes it possible to reproduce the behavior. You may could create a new meteor 0.8.2 app that just has this collection and see if you are able to isolate the error.

btw, what is the name of your collection that has this issue?

Gerwin Brunner
  • 196
  • 2
  • 9
0

Are you sure it's empty? Is it also empty on mongo? And if it's not then try to make CollectionName.find({}) on client side for example in Chrome console.

Do you have insecure and autopublish removed? If you are using insert on client side you must remember to use Meteor.allow on server side for that collection.

lehtu
  • 868
  • 1
  • 12
  • 27
0

You can check the subscribed data by adding below meteor package

meteor add msavin:mongol

After installation, press Control + M to toggle it.

Other details at https://github.com/msavin/Mongol

or download this and install it and run with credentials.You can check your local database

Thusila Bandara
  • 285
  • 4
  • 22