dabo Revision Property Change Revision 4042 Date: 2008-04-16 11:07:18.076725 Author: paul
Property Name: svn:log Previous Property Value: ======================== Ooh this was a subtle bug. I was scanning through my subopenings, and adding records to panels (child of subopenings) and to rails and stiles (children of panels). The addition of panels was working correctly, but the rails and stiles were only getting records in one of the panels, not the others. This was fixed by propagating the change to a parent pk to not just the immediate children, but to all descendents. Index: dabo/biz/dBizobj.py =================================================================== --- dabo/biz/dBizobj.py (revision 4040) +++ dabo/biz/dBizobj.py (working copy) @@ -1170,6 +1170,9 @@ self.__currentCursorKey = val # Make sure there is a cursor object for this key. self._CurrentCursor = val + # Propagate the change to any children: + for child in self.__children: + child.setCurrentParent() def addChild(self, child): New Property Value: =================== Ooh this was a subtle bug. I was scanning through my subopenings, and adding records to panels (child of subopenings) and to rails and stiles (children of panels). The addition of panels was working correctly, but the rails and stiles were only getting records in one of the panels, not the others. This was fixed by propagating the change to a parent pk to not just the immediate children, but to all descendents. _______________________________________________ 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]
