This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am running into an issue in where light speed interprets 0 for numeric fields as null values when the numeric database column not null in the database. In this case lightspeed prevents saving the data to the database because it interprets the column as being null even though 0 is a valid value. I have uploaded a solution which demonstrates this issue. The IsFormerEntity column is a numeric(1,0) in the database but cannot save a value of 0. Any help you can provide will be much appreciated. Thanks. |
|
|
Thanks for the repro project, Ill have a look into this and let you know what we find.
|
|
|
You need to remove the PresenceValidation from that field if 0 is a valid value. That validation is checking for a non default value, in this case 0 is the default value which is why you are seeing the error.
|
|
|
I thought I had checked that there was no validate presence attribute, but apparently I did not. Must be loosing my mind. Thanks for the help. |
|