You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in setTimeout callback: TypeError: undefined is not a function
To reproduce:
Start meteor
Run app
Stop meteor
Insert into a collection
close browser
start meteor
open browser
I have done some investigating and this seems to be caused by GroundDB expecting a _id field to be sent in the insert message. DDP does not appear to do that but instead sends a randomSeed value to generate IDs from.
Seems like generating the ID from the random seed might be the right thing to do, or maybe trick the client into thinking that it received the insert message.. Not sure yet. Still looking into it.
Any suggestions are welcome.
The text was updated successfully, but these errors were encountered:
Exception in setTimeout callback: TypeError: undefined is not a function
To reproduce:
Start meteor
Run app
Stop meteor
Insert into a collection
close browser
start meteor
open browser
I have done some investigating and this seems to be caused by GroundDB expecting a _id field to be sent in the insert message. DDP does not appear to do that but instead sends a randomSeed value to generate IDs from.
------ grounddb.client.js (line 555) -------------
var mongoId = _gDB.idParse((method.args && method.args[0])?
method.args[0]._id || method.args[0]:'');
Seems like generating the ID from the random seed might be the right thing to do, or maybe trick the client into thinking that it received the insert message.. Not sure yet. Still looking into it.
Any suggestions are welcome.
The text was updated successfully, but these errors were encountered: