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 Jul 14, 2020. It is now read-only.
I found exactly the code responsible for the bug.
in migration.py
doc.collection.update(self.target, self.update, multi=False, safe=safe)
# reload
try:
doc.update(doc.collection.get_from_id(doc['_id']))
except:
raise OperationFailure('Can not reload an unsaved document. '
'%s is not found in the database' % doc['_id'])
The local document is updated with update and therefore removed fields just stay inside the document and cause the same exception for an extra field
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I found exactly the code responsible for the bug.
in migration.py
The local document is updated with
update
and therefore removed fields just stay inside the document and cause the same exception for an extra fieldThe text was updated successfully, but these errors were encountered: