pupsnow / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

Bugs in persisting nested properties of new objects #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When persisting a new object with child properties that are also new entities, 
the children are not persisted.

Eg:
{{
    var author:Author = Author.withName("Some guy");
    var publisher:Publisher = Publisher.withName("Addison Lee");
    author.publisher = publisher;
}}

It is expected here that both `author` and `publisher` will be persisted as new 
entities.  However, `publisher` is not persisted.

Original issue reported on code.google.com by martypit...@gtempaccount.com on 16 Mar 2011 at 3:45

GoogleCodeExporter commented 9 years ago
Fixed in r298

Original comment by martypit...@gtempaccount.com on 16 Mar 2011 at 3:53

GoogleCodeExporter commented 9 years ago
Apparently this is still happening after r298

Original comment by martypit...@gtempaccount.com on 16 Mar 2011 at 2:33