If I create a SQLFORM from a table, but avoid DBIO (either by just calling 
validate, or calling process(dbio=False).accept), if a required field is 
missing, instead of the form coming back w/ errors, It throws a NOT_IN_DB 
exception.

If instead I use a SQLFORM.factory, missing required fields pass validation.

Has this always been the behavior?  If so, can someone explain the 
rationale behind it?

This is using Version 2.13.4-stable+timestamp.2015.12.26.04.59.39 

- Scott Hunter

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to