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

LogoutOtherClients problem with list Users subscription #1540

Closed
zapaz opened this Issue Oct 29, 2013 · 6 comments

Comments

Projects
None yet
4 participants
@zapaz

zapaz commented Oct 29, 2013

Server exception while using LogoutOtherClients with subscription to list of Users, Meteor 0.6.6.2

Example here : https://github.com/zapaz/meteor-logoutotherclients-bug

=> Meteor server running on: http://localhost:3000/
I2052-14:07:47.004(1)? Exception in queued task: Error: Could not find element with id SbG7ENEu78wQ7eSzd to change
I2052-14:07:47.056(1)? at .extend.changed (packages/livedata/livedata_server.js:176)
I2052-14:07:47.057(1)? at .extend.changed (packages/livedata/livedata_server.js:341)
I2052-14:07:47.057(1)? at .extend.changed (packages/livedata/livedata_server.js:927)
I2052-14:07:47.057(1)? at cursor.observeChanges.changed (packages/mongo-livedata/collection.js:237)
I2052-14:07:47.057(1)? at packages/mongo-livedata/mongo_driver.js:971
I2052-14:07:47.057(1)? at Array.forEach (native)
I2052-14:07:47.057(1)? at Function.
.each.
.forEach (packages/underscore/underscore.js:79)
I2052-14:07:47.058(1)? at Object.self.callbackMultiplexer.(anonymous function) as changed
I2052-14:07:47.058(1)? at packages/minimongo/diff.js:28
I2052-14:07:47.058(1)? at Function.
.each.
.forEach (packages/underscore/underscore.js:87)

@ai10

This comment has been minimized.

ai10 commented Oct 29, 2013

Hi ; I am getting very similar problem with Accounts.verifyEmail Dm4hagjg3uG7FM9ax, cb

the callback is called with an error "Token expired" but its within minute.

trace on server:

Exception in queued task: Error: Could not find element with id Dm4hagjg3uG7FM9ax to change
I2052-11:50:45.692(-4)? at .extend.changed (packages/livedata/livedata_server.js:176)
I2052-11:50:45.692(-4)? at .extend.changed (packages/livedata/livedata_server.js:341)
I2052-11:50:45.692(-4)? at .extend.changed (packages/livedata/livedata_server.js:927)
I2052-11:50:45.692(-4)? at cursor.observeChanges.changed (packages/mongo-livedata/collection.js:237)
I2052-11:50:45.692(-4)? at packages/mongo-livedata/mongo_driver.js:971
I2052-11:50:45.693(-4)? at Array.forEach (native)
I2052-11:50:45.693(-4)? at Function.
.each.
.forEach (packages/underscore/underscore.js:79)
I2052-11:50:45.693(-4)? at Object.self.callbackMultiplexer.(anonymous function) as changed
I2052-11:50:45.693(-4)? at packages/minimongo/diff.js:28
I2052-11:50:45.693(-4)? at Function.
.each.
.forEach (packages/underscore/underscore.js:87)

@estark37 estark37 closed this in 5afd0d5 Oct 29, 2013

@estark37

This comment has been minimized.

Contributor

estark37 commented Oct 29, 2013

Thanks for the report, @zapaz! This should be fixed on devel now.

@charlesjshort What you're describing might or might not be a separate issue; can you check if it still happens when running against devel, and if so then open another issue with a small cloneable reproduction? Thanks!

@ai10

This comment has been minimized.

ai10 commented Oct 30, 2013

Fix seems to work. Thanks.

@estark37

This comment has been minimized.

Contributor

estark37 commented Nov 1, 2013

Just for the historical record, I now see that 5afd0d5 actually just made the problem show up less often, and 9e7b4bd is the actual fix (and the commit message there describes the actual bug).

@estark37

This comment has been minimized.

Contributor

estark37 commented Nov 1, 2013

@avital and I just built a release called "fix-issue-1553" that has the fix, as well as other a couple other bug fixes.

To use it, run "meteor update --release fix-issue-1553" in your app. Hope that helps!

@avital

This comment has been minimized.

Contributor

avital commented Nov 2, 2013

We just cut a release candidate for 0.6.6.3 that should solve this issue. Give it a whirl by running meteor update --release 0.6.6.3-rc1 in your app directory. Let us know if you encounter any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment