Shu Shen 3f30808104 Fix AttributeError when creating EmbeddedDocument
When an EmbeddedDocument is initialized with positional arguments, the
document attempts to read _auto_id_field attribute which may not exist
and would throw an AttributeError exception and fail the initialization.

This change and the test is based on the discussion in issue #681 and
PR #777 with a number of community members.
2016-04-07 15:18:33 -07:00
..
2015-11-26 12:01:42 +08:00
2013-12-13 09:46:45 +00:00
2015-06-23 23:16:08 +02:00
2014-12-02 00:37:06 -02:00
2009-12-19 16:04:05 +00:00
2015-05-04 15:02:01 -07:00