http://code.google.com/p/web2py/issues/detail?id=647&q=is_in_db
does anobody else found similar problems in using IS_IN_DB validator
with option multiple=True
that is the default for 'list:reference' type fields?
cheers
Manuele
Yes you're right but It's not necessary to define another table with a
list:reference field to test the validator while I can directly call the
validator. Anyway I got the problem using the method
"validate_and_update" for a field of type "list:reference" but the same
list passed to the simple "update" method worked fine.
In my example I immagine to use a list:reference field without an
explicit definition... I don't think it's a problem. I thought to better
focus on the problem with this example, but maybe I wouldn't be so clear.
well I can say a little more... actually I have used in my project the
definition of a "list:reference" field and everything works fine through
the web interface where I can insert, upgrade, delete and so on even
after the code modification I proposed in the issue.
Thanks for your attention
Cheers
Manuele