-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in changedobserveChanges callback: Error: Cannot read property 'documents' of undefined #73
Comments
There's only one place in the code where that can appear: tunguska-reactive-aggregate/aggregate.js Line 254 in 65788b2
Is it possible there's no client collection defined? |
FYI, I've updated existing meteor 2.2 to 2.8 and latest tunguska-reactive-aggregate 1.3.10 - you can edit the title of Readme still at 1.3.9)
let's check if sub._session.collectionViews.get(localOptions.clientCollection) exist before getting .documents of it ? if not log : localOptions.clientCollection and keys of sub._session.collectionViews :
Deployed to get more information ... |
here is the log :
so we are losing sub._session.collectionViews .... |
Hmm. I've just checked the Meteor code - the use of What's your code for defining the publication? |
the problem is not at code :
|
Agreed, but there was a possibility that |
Thank you Rob for your time, if the user is disconnected for a few seconds, would this be the cause of the issue ? |
If you enable the tunguska-reactive-aggregate/aggregate.js Lines 335 to 336 in 65788b2
|
Hello guys, I've created a single-line PR which fixed this issue for me. |
Hi, I have this strange error (meteor 1.8, tunguska-reactive-aggregate 1.3.10)
The text was updated successfully, but these errors were encountered: