This was a bug. I sent a patch [1] and it was applied.
It's in trunk and will be in next version launch.


[1] https://github.com/web2py/web2py/pull/352



On Fri, Jan 31, 2014 at 8:26 AM, Jayadevan M
<[email protected]> wrote:
> In our system with some data in the tables, I added to db.py:
> db._common_fields.append(auth.signature)
> This added the requisite columns. But When I try to edit the records from
> appadmin, I get the error "value not in database" for the signature columns.
> So I go to psql and update all the "signature" columns to some user id. Is
> that how it is supposed to be done? Can't we make those columns NULLable? In
> fact, they are NULLable if I look at the table definition from psql.What is
> happening when I do it from appadmin?
>
> --
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to