Thanks for you feedback Annet. No I'm not setting any "onvalidation" code... I'm using /data/update from crud.
Regards, Tito On Sat, Jun 6, 2009 at 1:46 PM, annet <[email protected]> wrote: > > Tito, > > I am facing the same problem: > > In version 1.61.4 all my update functions worked, in version 1.63.5 > the update works but the check to delete functionality doesn't, it > issues a ticket: > > Traceback (most recent call last): > File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/ > restricted.py", line 107, in restricted > exec ccode in environment > File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/ > cms/controllers/site.py", line 182, in <module> > File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/ > globals.py", line 97, in <lambda> > self._caller = lambda f: f() > File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/ > cms/controllers/site.py", line 29, in update_openinghour > form=crud.update(db.openingstijd,request.args[0],next=(URL > (r=request,f='crud_openinghour'))) > File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/ > tools.py", line 1609, in update > onvalidation=onvalidation): > KeyError: 'id' > > > Since the check to delete worked in version 1.61.4 I do not think the > error is caused by an error in our code. > > > Best regards, > > Annet. > > > -- Linux User #387870 .........____ .... _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:_______ Sent from Salvador, BA, Brazil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

