[web2py] Re: Validate_and_insert fails because "id" has no value

2017-05-09 Thread Joe Barnhart
You are correct sir. The table has three "reference" fields and their default validators were the unforgiving type. Since this was a special case in which it was OK if the references were missing, I just nuked the validators before doing the "validate_and_insert" by setting the "requires=Non

[web2py] Re: Validate_and_insert fails because "id" has no value

2017-05-09 Thread Anthony
id fields do not get any validators by default, and if they did, it certainly would not be an IS_IN_DB validator (if anything, it would be IS_NOT_IN_DB, as id values must be unique). Can we see your table definition? Is it possible the problem is instead with a reference field, which by defaul