Could someone please assist to resolve this bug?   I am not sure what to do 
to fix it.  

Please note that this bug is in the latest source.  I believe that it is in 
the IS_IN_DB validator. 

Thanks to anyone who might be able to help.  To replicate,  please do this:


> 1. Make a new app.
> 2. Paste this at the bottom of models/db.py
>
>
> db.define_table('tag',
>     Field('name'),
>     Field('descr',length=50),
>     format='%(name)s',
>     )
>     
> db.define_table('docstore',
>     Field('name'),
>     Field('tags','list:reference tag'), 
>     )   
>     
> if not db(db.tag.id>0).count():
>     db.tag.insert( name = "A",  descr = "A Descr" )     
>     db.tag.insert( name = "B",  descr = "B Descr" )     
>     db.tag.insert( name = "C",  descr = "C Descr" )     
>
>
> Use Appadmin to add a record to docstore table.
>
>
>

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