gluon/validators.py lines 403-405:

        rows = self.dbset(field == value).select(limitby=(0, 1))
        if len(rows) > 0 and str(rows[0].id) != str(self.record_id):
            return (value, self.error_message)

- line 404: a field with name 'id' is required, but legacy tables may
not have a field named 'id'. Will raise an exception then.

- line 403: limitby is not correctly implemented for informix in
current web2py. Therefore a select with limitby does not return any
rows for informix (Massimo, do you remember my suggested patch for
that issue?).

Regards,

  Hans

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to