Hello,

I just belatedly upgraded from 8/9/15 (v2.12.2-stable) -> 5/10/16
(v2.14.6-stable)
and have about 100 instances of 'validate_and_insert' in my application.
My app was previously (with 8/9/15 version) running these instances of
'validate_and_insert' A-OK but now, basically every instance of
'validate_and_insert' is throwing an error. When I use the shell I get a
traceback that ends in:

if isinstance(value, (int, long)) or value.isdigit():
AttributeError: 'NoneType' object has no attribute 'isdigit'

It does this every single time I try to run 'validate_and_insert' when
otherwise everything seems fine (and when I go back to the previous version
and run the same exact code in the shell it goes fine).

If I change the 'validate_and_insert' to just 'insert' it works, but I'd
like to keep the code the way it was before.. anyone else stumble on this
or have a suggestion?

fyi it seems a little similar to the 5/8/17 thread "Validate_and_insert
fails because "id" has no value" where he is also using 2.14.6-stable.

Thank you!

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to