bug! IS_NOT_IN_DB

1 view
Skip to first unread message

reeds

unread,
Jun 21, 2008, 10:29:57 PM6/21/08
to web2py Web Framework
In some of the recent trunks when I do:

IS_NOT_IN_DB(db(db.url.company_id!=company.id), "url.name")

It still gives an "value in db" error when the value supplied is
url.name belonging to company with id company.id. It should exclude
this from the db to test against as the db is defined as
db(db.url.company_id!=company.id).

This works correctly in version 1.35. But some of the recent versions
in the trunk are having problems.

Massimo Di Pierro

unread,
Jun 22, 2008, 2:03:44 AM6/22/08
to web...@googlegroups.com
sorry. fixed in trunk 278.
Reply all
Reply to author
Forward
0 new messages