Creating a SQLFORM.factory() from multiple tables, or a combination of 
tables and fields, now breaks, because the underlying logic assumes the 
tables are fields:

form = SQLFORM.factory(idb.catering, idb.catering_diet)

File "/home/www-data/internal-apps/gluon/sqlhtml.py", line 1922, in factory
    return SQLFORM(DAL(None).define_table(table_name, *[field.clone() for field 
in fields]),
AttributeError: 'Table' object has no attribute 'clone'


On Wednesday, 19 July 2017 13:25:52 UTC+1, Massimo Di Pierro wrote:
>
> web2py 2.15.2 is OUT is includes a few major bug fixes to version 2.15.1. 
> Thanks Leonel for the quick fixes.
> There a few other outstanding problems and they will be resolved in the 
> next week.
>
> For new users 2.15.2 is still better than previous versions. For current 
> users, please check it out and continue to report any problem. We want to 
> make sure it is backward compatible as promised.
>
> Massimo
>
>

-- 
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