[Solved] Called retrieveOriginals without saveOriginals


#1

I have started seeing this message since I added to my code a method that is ran both on server and client (for optimistic UI purposes). This method basically computes some data and saves it in a collection.

I found this issue raised by Mitar https://github.com/meteor/meteor/issues/3025 with the same error but he is creating collections on the fly inside of an observer. As far as I can tell, I am not doing that…

Anyone has an idea of why this could be happening or advice to isolate the issue ?


#2

I was actually creating a collection on the fly inside of a simulated method due to the optimistic UI behavior of Meteor. The solution was to make sure the collection was created on the client before the code being run on both client and server was run.