Skip to content
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

Session.clear() or Session.clearAuth() results in TypeError #44

Closed
dkoo opened this issue Aug 20, 2015 · 0 comments
Closed

Session.clear() or Session.clearAuth() results in TypeError #44

dkoo opened this issue Aug 20, 2015 · 0 comments
Labels

Comments

@dkoo
Copy link

dkoo commented Aug 20, 2015

First off, thank you for this awesome extension of Session. I'm relying on it quite a bit to hold consistent views after page refreshes and it works quite well, for the most part.

One thing I've noticed is that using Session.clear() or Session.clearAuth() (with no arguments) in my app results in a TypeError:

Exception from Tracker recompute function: meteor.js:888:11
TypeError: self._dict.keyValueDeps[akey] is undefined

In my case, I'm using it to clear Session keys when the user visits the root '/' route. This may be related to #42, but logging it here since it's a slightly different case.

rgould added a commit that referenced this issue Aug 31, 2015
* mhinton-master:
  Fix for issue #44/#42
@deanrad deanrad added the bug label Sep 23, 2015
@deanrad deanrad closed this as completed Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants