Why that for ??? for row in db(db.auth_user.first_name == db.auth_user.first_name).select(): administrator = row.is_manager first_name = row.first_name last_name = row.last_name nickname = row.nickname email = row.email address = row.address postcode = row.postcode city = row.city country = row.country website = row.website
# expose profile db.auth_user.first_name.default = first_name db.auth_user.last_name.default = last_name db.auth_user.nickname.default = nickname db.auth_user.email.default = email db.auth_user.address.default = address db.auth_user.postcode.default = postcode db.auth_user.city.default = city db.auth_user.country.default = country db.auth_user.website.default = website I think your problem come from there... You set a bunch of default values... Your query doesn't make sens (in red) "db(db.auth_user.first_name == *db.auth_user.first_name*).select()" So you probably ends up with already defined default values so the form doesn't pass... Try comment all this and see if it, you don't need that anyway... Richard On Wed, Mar 30, 2016 at 4:57 PM, 'Laer Cius' via web2py-users < web2py@googlegroups.com> wrote: > Ok thanks ! > > As a matter of fact I have indeed an unique option set for the problematic > values. But I understood it as to prevent 2 same values for 2 different > users : as for an email for example. But here I try to update the profile > of the same user so obviously he should keep the same email or be able to > anyway. > > I join the faulty code. > > -- > 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. > -- 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.