In my bizobj I have
self.NonUpdateFields=["pkid","cdescript"]

Which I believe means that the "pkid" and "cdescript" should not be in an 
insert statement or an update statement.


But when I check the variable ''kk"  in the code my fields ( "pkid" 
and "cdescript") are still added to the insert string "sql"

from dCursorMixin.py
if kk in self.getNonUpdateFields():

sql = "insert into %s (%s) values (%s) " % (
                                                
self.BackendObject.encloseNames(self.Table, aq), flds, vals)

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.  
-- 
John Fabiani


_______________________________________________
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]

Reply via email to