Greetings,

I am playing with Middlekit, can someone tell me the correct way to clear
the error state in the store if an object added to the store with
addObject(), then attempted to be saved with saveChanges() raises an
exception (in my test this was because the object had None in a field that
was NOT NULL).

o = Object()
store.addObject(o)
try:
        store.saveChanges()
except:
        store.???

o1 = Object()
store.addObject(o1)
store.saveChanges() <- raises exception due to previous error

TomH <tomh(AT)optiscan(DOT)com>


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to