[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-11-05 Thread pepper_bg
This one has been torturing me for a while. Here is how to replicate it consistently (and possibly fix it): 1. Create a brand new application (in my case named 'ttt') 2. In db.py say auth.settings.expiration=10 (so sessions expire quick) 3. In the default controller create a new function:

[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-11-05 Thread Massimo Di Pierro
This is indeed a bug. I am working to fix it. On Sep 28, 10:10 am, Anthony abasta...@gmail.com wrote: I think this is still a bug, though. On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote: I found a work around. I had two decorators on the index controller

[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-09-28 Thread Jim Karsten
I found a work around. I had two decorators on the index controller functions. I separated that function into two putting a decorator on each. Previously: @requires_session_option @auth.requires_login def index(): return dict() Now: @auth.requires_login def index():

[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-09-28 Thread Anthony
I think this is still a bug, though. On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote: I found a work around. I had two decorators on the index controller functions. I separated that function into two putting a decorator on each. Previously: @requires_session_option

Re: [web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-09-28 Thread Jonathan Lundell
On Sep 28, 2011, at 8:10 AM, Anthony wrote: I think this is still a bug, though. Shouldn't that have been: @auth.requires_login @requires_session_option def index(): return dict() ? On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote: I found a work around. I