this session.orders=db(condition).select(orderby=...) was never supposed to work. Because connections close when the action returns and a list of record only lives as long as the connection is open.
Massimo On Mar 2, 8:33 pm, Iceberg <[email protected]> wrote: > On Mar2, 12:22pm, mdipierro <[email protected]> wrote: > > > Lots of small bug fixes in the last week so I posted 1.57. Please give > > it a try and let me know. > > > New features include: > > 1) admin edit page via ajax and keepalive (thank you Boris) > > 2) language translation page has [delete] buttons > > 3) fixed (hopefully) a problem with database connections occasionally > > not closed > > 4) Achipa fixed an issue with cron and added documentation > > > If I am forgetting something please remind me. > > > Massimo > > In one of my app, I store search results in session like this: > session.orders=db(condition).select(orderby=...) > and later reuse the result set without db query. > > This always works but, in 1.57, the result can not be obtained from > session. Is there any change in dal causing the result can not be > pickled into session anymore? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

