Meteor-Community-Packages / ground-db

GroundDB is a thin layer providing Meteor offline database and methods
https://atmospherejs.com/ground/db
MIT License
572 stars 77 forks source link

Stub functions problems in MantraJS or React #189

Closed paranoico closed 4 weeks ago

paranoico commented 7 years ago

Hello again @raix,

We have found another issue for us using MantraJS:

I have also found this https://groups.google.com/forum/#!topic/meteor-core/s3OLSWj7kvI and your package https://github.com/raix/stubfence but does not seem to solve our specific problem.

Is there anything else we could try?

Thanks in advance.

raix commented 7 years ago

are you using the latest ground db II ? (cause that doesn't use stubfence)

paranoico commented 7 years ago

Yes, using latest GroundDB II.

Seems to be a Meteor issue not preserving ID Consistent Generation and, in the other hand, similar to this: https://github.com/meteor/meteor/issues/1285

And GroundDB preserves the doubled data because the second document has another ID. So we have made a workaround creating our own documents IDs. So far seems to be working.

Thanks.

StorytellerCZ commented 4 weeks ago

Should be fixed now. If not, then please re-open.