According to git bisect, the commit which seems to cause the problem is b0e9140508 web2py backport of lazy get_vars, post_vars and vars
On Wednesday, 21 August 2013 11:00:58 UTC+10, Tim Richardson wrote: > > I have this URL: > http:// > 127.0.0.1:8050/patient_form/enter_form/enter_form?login_id=T19566&_signature=609f2082e4d219a48ae44e2448ab0e01a9a05e55 > > > and the controller does this: > > login_id = request.vars.login_id > > ... > valid_code = cache.disk(login_id,lambda: None,time_expire=SESSION_MINUTES* > 60) > > > The use of cache is failing with an error: > > Via the debugger, I see that oddly > login_id = ['T19566', 'T19566'] > > > This code is in production of 2.5.1 without any errors. I see this > behaviour on trunk Version 2.6.0-development+timestamp.2013.08.20.11.14.41 > This is a multi-step form which calls itself, saving the "step" as a > request var (although there is no step var initially, which is why it is > missing from the URL) > This bug happens after the user leaves the first step of the form. > Until now I would have expected login_id to be taken from the URL string. > I don't know why I now get a list duplicating the value. > > > -- --- 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/groups/opt_out.