We probably need to see more code and an exact description of the workflow to make the update and check whether it was applied.
Anthony On Tuesday, June 27, 2017 at 5:02:04 AM UTC-4, Ramos wrote: > > Yes anthony i meant modified_on ,not update_on > > I have this code > > table[id]=dict(field1=1,field2=2) > > the row is updated but the *modified_on* is not. > > > Regards > > > 2017-06-26 19:48 GMT+01:00 Anthony <[email protected]>: > >> auth.signature includes a modified_on field, not an update_on field. >> >> Also, if you update a record by making changes to the row object and then >> calling row.update_record() (with no arguments), it will update the record >> with all the existing values (so modified_on will not be changed). >> >> Anthony >> >> >> On Monday, June 26, 2017 at 1:21:43 PM UTC-4, Ramos wrote: >>> >>> Hi, >>> >>> my table >>> db.define_table( >>> 'entities', >>> Field('uuid',length=64,default=lambda:str(uuid.uuid4())), >>> Field('entity',required=True,label=T("Entity")), >>> Field('description',label=T("Description"),default=""), >>> Field('status', db.status), >>> Field('type','reference dbentities',label=T("Type")), >>> # Field('workflow','reference workflows',label="Workflow"), >>> Field('event'), >>> Field("last_error",default=""), >>> Field('readers','list:string',default=[""]), >>> auth.signature, >>> format='%(entity)s', >>> ) >>> the field *update_on* is not being updated when i update a record via >>> code. >>> >>> if i update a record via appadmin it does also not update *update_on* >>> field >>> >>> Help :) >>> >>> thank you >>> >> -- >> 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 [email protected]. >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

