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
{{ message }}
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
In our code for checking online users, we remove values from connections in two steps: first we set all stale data to None and then we remove all None values. It seems this has a problem that if user object is accessed just in between this two steps, MongoEngine throws an error: connections - 'NoneType' object has no attribute 'get. Connections object is something like this:
In our code for checking online users, we remove values from connections in two steps: first we set all stale data to
None
and then we remove allNone
values. It seems this has a problem that if user object is accessed just in between this two steps, MongoEngine throws an error:connections - 'NoneType' object has no attribute 'get
. Connections object is something like this:It fails at line 979,
mongoengine/mongoengine/base.py
in_from_son
.The text was updated successfully, but these errors were encountered: