Closed leo-naeka closed 11 years ago
I have manually added proposed fix in 610b5d808cf0e811651a434318ac10e312585ec7. Can you please update/merge from main repository and prepare pull request for other things you have made in at the same time? Pull request also has ReferencedListField.
BTW, I am not sure if it is really necessary to have ReferencedListField as a special field?
Thanks for your fix which works perfectly. I've removed ReferencedListField from this pull request since it is not related to this issue. My fault. I'll create a new PR for ReferencedListField and close this one.
But please make also a pull request with test cases you have added for this fix.
Added a test case and moved mongoengine's ValidationError checks in
obj_create()
andobj_update
rather than infull_hydrate()
. Linked to #20.