Hi there, first post after a couple of months using web2py - really
enjoying it.
I have a strange one though - I have a page where an ID is passed to the
controller through request.arg(0)
80% of the time there's no issue, then seemingly randomly the value the
controller gets becomes 'images'. I've experimented with it and just
changing one character in the ID lets it come through OK so seems to be a
bug.
I don't want to post the actual IDs here as they relate to real records in
a real externally visible system but happy to email off-list.
Something anyone's seen before? Nothing special in my code I don't think:
entity_id = request.args(0)
if entity_id is None or entity_id == 'images':
response.flash = entity_id
return dict(timeline_events=[], supporter=None, staging_res=None,
source_data_server=None, journey_chart=None)
Thanks
Ian
--
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.