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
@lafrech Related, but doesn't seem to be a duplicate. These are two very different problems, #1259 with reloading something that actually is still a field, this one the fact that the field attribute has been overridden with a non-field that can't be written to.
The reload code is inappropriately examining _data instead of the actual field lists to determine which attributes to save back out (to trigger the descriptor protocol on those fields).
Hello!
I noticed a weird behavior and managed to isolate the problem.
I think this situation is not as uncommon as it might appear:
This will cause mongoengine to raise an AttributeError :
This is an inconsistent behavior because the error is NOT raised when the object is first loaded, but when it is reloaded.
The text was updated successfully, but these errors were encountered: