Ed Leafe wrote: > On Mar 20, 2007, at 3:12 AM, johnf wrote: > >> Trouble in river city! If I add the self.FillLinkFromParent = True >> in the >> child then the bizobj thinks a change has occurred. Even though >> the user >> hasn't changed anything. I'm sure this is because a value is >> inserted into >> the cursor. > > The snapshot for a memento should be taken *after* all of the > default values, FKs, etc., are filled in. Since the new memento > doesn't take a snapshot but instead records changes, it should be > deleted after all the onNew() actions fire.
And this is what happens. John, could you please run dabo/biz/tests/test_dBizobj.py just to make sure the tests pass on your system? I think you might have other problems somewhere because of your experience with DefaultValues not working. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
