dabo Commit
Revision 5150
Date: 2009-03-26 12:13:56 -0700 (Thu, 26 Mar 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5150

Changed:
U   trunk/dabo/biz/dBizobj.py

Log:
Actually, cancelAll() only should apply if we didn't deleteAll(), but requery()
should happen no matter what.


Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2009-03-26 18:57:01 UTC (rev 5149)
+++ trunk/dabo/biz/dBizobj.py   2009-03-26 19:13:56 UTC (rev 5150)
@@ -549,7 +549,8 @@
                        for child in self.__children:
                                if self.deleteChildLogic == 
kons.REFINTEG_CASCADE:
                                        child.deleteAll(startTransaction=False)
-                               child.cancelAll()
+                               else:
+                                       child.cancelAll()
                                child.requery()
                        if startTransaction:
                                self.commitTransaction()



_______________________________________________
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/[email protected]

Reply via email to