mongokit icon indicating copy to clipboard operation
mongokit copied to clipboard

dot notation: validation_errors was not found in structure. Add it as attribute instead

Open nisc opened this issue 13 years ago • 1 comments

I keep seeing this funny warning when saving documents. It does not cause me any troubles, but I thought I still better report it.

Namlook, I'm pretty sure you have an idea where this could be coming from. If not, just tell me, and I will provide details.

nisc avatar Dec 25 '11 15:12 nisc

you're copying values from WTForms objects and your chosen method copies 'validation_errors' field, which is not in your structure.

as long as your structure doesn't contain a 'validation_errors' field, you can safely ignore this set dot_notation_warning = False (which is the default, i believe?) in your Document subclass and it will go away

matejcik avatar Jan 05 '12 19:01 matejcik