I was using a outdated version of web2py, in the new version the line is 511

On Wednesday, February 20, 2013 12:42:05 PM UTC-3, Felipe Meirelles wrote:
>
> Hi,
>
> Just found a bug in validators.py, line 468.
>
> If I use a virtualfield to format the select options, it will drop an 
> exception, trying to order the select by de virtual field.
>
> Can you patch it in trunk?
>
> from gluon.dal import FieldVirtual
> fields = filter(lambda f: type(f) != FieldVirtual, fields)
>
> Thanks!
>

-- 

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


Reply via email to