web/views/basecontrollers.py
branchstable
changeset 4719 aaed3f813ef8
parent 4638 c7d2145abf61
child 4721 8f63691ccb7f
--- a/web/views/basecontrollers.py	Fri Feb 26 13:12:01 2010 +0100
+++ b/web/views/basecontrollers.py	Fri Feb 26 13:19:14 2010 +0100
@@ -172,7 +172,9 @@
 
 def _validation_error(req, ex):
     req.cnx.rollback()
-    forminfo = req.get_session_data(req.form.get('__errorurl'), pop=True)
+    # XXX necessary to remove existant validation error?
+    # imo (syt), it's not necessary
+    req.get_session_data(req.form.get('__errorurl'), pop=True)
     foreid = ex.entity
     eidmap = req.data.get('eidmap', {})
     for var, eid in eidmap.items():