dabo Commit
Revision 6226
Date: 2010-11-28 16:49:13 -0800 (Sun, 28 Nov 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6226

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

Log:
Applied Jacek's patch to prevent cases where child changes could be silently 
discarded. Ticket #1399

Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2010-11-28 22:29:44 UTC (rev 6225)
+++ trunk/dabo/biz/dBizobj.py   2010-11-29 00:49:13 UTC (rev 6226)
@@ -597,9 +597,9 @@
                                        child.deleteAll(startTransaction=False)
                                else:
                                        child.cancelAll()
-                               child.requery()
                        if startTransaction:
                                self.commitTransaction()
+                       self.requeryAllChildren()
 
                        if not inLoop:
                                self.afterPointerMove()



_______________________________________________
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