[web2py] Re: One form for two relationshiped tables using SQLFORM.factory not working

2017-07-26 Thread Leonel Câmara
There's already a fix for this by Tim Nyborg waiting to be merged: https://github.com/web2py/web2py/pull/1692 -- 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) -

[web2py] Re: One form for two relationshiped tables using SQLFORM.factory not working

2017-07-26 Thread Anthony
Please open a Github issue (linking to this thread), as this is a bug that was recently introduced. Field objects must now be cloned, but the new code does not take into account that arguments to SQLFORM.factory can also be tables (which do not have a .clone() method). Anthony On Wednesday, Ju