On Jun 23, 2007, at 12:21 AM, johnf wrote:
> When I attempt to debug I find that the list to be returned is
> always = [ ]
> def getNonUpdateFields(self):
> return list(set(self.nonUpdateFields + self.__nonUpdateFields))
>
> So I think the NonUpdateFields is broken.
OK, I think I see the problem. In order to confirm, I need you to re-
run with some debug code added to dCursorMixin.py. Starting with line
585, change the code to read:
585 def setNonUpdateFields(self, fldList=None):
print "SET", self
586 if fldList is None:
587 fldList = []
588 self.nonUpdateFields = fldList
589
590
591 def getNonUpdateFields(self):
print "GET", self
592 return list(set(self.nonUpdateFields + self.__nonUpdateFields))
I'm thinking that the cursor that is getting 'set' is not the cursor
being asked to 'get'. So add those two lines, and post the debug output.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
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/dabo-users/[EMAIL PROTECTED]