[baseten-users] ERROR: null value in column "xyz" violates not-null constraint when trying to insert mandatory data

Sascha Gresk sascha.gresk at opensource-consult.com
Thu May 21 20:42:05 EEST 2009


Hello again,

I changed the model in the tutorial so one of the column is "NOT NULL"

when I try to insert data ... I get a


ERROR:  null value in column "xyz" violates not-null constraint


Also the Stickies Example does not use "NOT NULL" attributes, so I guess
I need a more complex tutorial like the one seen in

http://cocoadevcentral.com/articles/000085.php


To find the cause of all of this  I compared the Interfacebuilder- 
Files with BlogDemo

http://cocoadevcentral.com/downloads/000085-BlogDemo-Finished.zip

where I havn't found any differences when looking at required fields.


Is this a bug in the framework or do I need to have sourcecode to  
prevent saving the data before
I can type something usefull into the textfield ?

Also deactivating autocommit and have an extra save "button" did not  
work for me


regards,
Sascha








More information about the baseten-users mailing list