On 10/12/11 1:30 AM, Vineet Deodhar wrote: > I have parent:child:grandchild relationship defined. > LinkField, FillLinkFromParent, AddChild are all specified. > > When there is no change in parent Bizobj and if changes are there in child& > grandchild bizobjs; > and I try to parentBizobj.saveAll(), nothing is saved. > > But if I do childBizobj.saveAll(), changes are saved correctly. > Surely, this is not expected behaviour. > From the docstrings of saveAll(), whenever saveAll() is called on parent > bizobj, it would check& commit all > changes/additions/deletions in self& all children. > > Any hint?
I have lots of these - and deeper - relationships, and when the parent is saved everything is saved in the chain. Please make sure you've called addChild() on all of the parent/child relationships. In your case, make sure that you've called parent.addChild(child). Paul _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/4e959abb.3080...@ulmcnett.com