--- a/web/form.py Wed Apr 29 17:36:49 2009 +0200
+++ b/web/form.py Wed Apr 29 18:56:53 2009 +0200
@@ -75,9 +75,9 @@
# method on successful commit
forminfo = self.req.get_session_data(sessionkey, pop=True)
if forminfo:
- req.data['formvalues'] = forminfo['values']
- req.data['formerrors'] = errex = forminfo['errors']
- req.data['displayederrors'] = set()
+ self.req.data['formvalues'] = forminfo['values']
+ self.req.data['formerrors'] = errex = forminfo['errors']
+ self.req.data['displayederrors'] = set()
# if some validation error occured on entity creation, we have to
# get the original variable name from its attributed eid
foreid = errex.entity
--- a/web/views/actions.py Wed Apr 29 17:36:49 2009 +0200
+++ b/web/views/actions.py Wed Apr 29 18:56:53 2009 +0200
@@ -248,7 +248,7 @@
order = 20
def url(self):
- return self.build_url('euser/%s'%self.req.user.login, vid='edition')
+ return self.build_url('cwuser/%s'%self.req.user.login, vid='edition')
class LogoutAction(Action):
--- a/web/views/cwuser.py Wed Apr 29 17:36:49 2009 +0200
+++ b/web/views/cwuser.py Wed Apr 29 18:56:53 2009 +0200
@@ -38,7 +38,7 @@
def url(self):
login = self.rset.get_entity(self.row or 0, self.col or 0).login
- return self.build_url('euser/%s'%login, vid='epropertiesform')
+ return self.build_url('cwuser/%s'%login, vid='epropertiesform')
class CWUserPrimaryView(PrimaryView):