I upgraded to web2py 1.64.3 and then:

crud started to set its own table name
         if request.extension != 'html':
             (_session, _formname) = (None, None)
         else:
            (_session, _formname) = (session, table._tablename)

This breaks the app if you have multiple forms update and create.
Any special reason for this ?

This works btw:
if request.extension != 'html':
             (_session, _formname) = (None, None)
         else:
             (_session, _formname) = (session,
'%(tablename)s_%(record_id)s')
and this should also work:
if request.extension != 'html':
             (_session, _formname) = (None, None)
         else:
            (_session, _formname) = (session, None)

Its the same in .4

/R



-- 
______________________________________________
Robert Marklund

Phone: +46 (0)46 19 36 82
Mobile: +46 (0)70 213 22 76
E-mail: robbelibob...@gmail.com
______________________________________________

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to