Il 17/07/14 18:18, Serge Bourgeois ha scritto: > but, I got a message saying that I couldn't change the objects already > existing ... look for a validator... in case you are using IS_NOT_IN_DB it happens that when you're not updateing a value in a field with this validator but other, because of the whole record will be submitted for update, the value not modified is considered in the query because already in db and that cause the error. A solution coud be to rewrithe the query passed to the validator on the fly when you are in edit mode...
Hope it could help Cheers M. -- 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.