#1101: SaveNewUnchanged not working
---------------------+------------------------------------------------------
Reporter: paul | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 0.8.2
Component: biz | Version:
Resolution: | Keywords:
---------------------+------------------------------------------------------
Changes (by paul):
* summary: SaveNewUnchanged=True in children: records not saved when
parent.save() => SaveNewUnchanged not working
Old description:
> Setting SaveNewUnchanged=False in a parent bizobj and
> SaveNewUnchanged=True in a child, then doing child.new() and
> parent.save() will not save the child record, but Dabo will indeed keep
> prompting you that there are changes to save.
New description:
I've noticed the following behaviors in SaveNewUnchanged:
* If SaveNewUnchanged is True in both parent and child bizobjs, and a new
record is added to child, calling parent.save() will not actually insert
the new record into the backend. However, Dabo thinks the job is done
because we are no longer prompted to save after that point.
* If SaveNewUnchanged is False in the parent bizobj and True in the
child, then doing child.new() and parent.save() will not save the child
record, but Dabo will indeed keep prompting you that there are changes to
save.
--
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1101#comment:1>
Dabo <http://svn.dabodev.com/trac/dabo>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]