> > First call happens via get on submission a post happens, since those are > different web2py converts the id parameter to a list since it can for some > reason not determine what else to do. >
It seems to me that, when you self-submit the form to the same action, the uri keeps the get vars, although the form is actually using the post method. However, the request handler could be using the get vars anyway (¿no?) and as it supposedly has two ids to handle (the one from the get uri plus the one that comes in the post form) it returns a list of ids, which apparently makes the record retrieval fail. If so? How did you get to that result. > To reproduce the problem, I used your controller logic and called the action with a url like http://<app url>/controller/action?id=<an id> -- --- 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.