[Mpuls-commits] r3944 - in base/trunk: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 8 19:54:47 CEST 2010


Author: bh
Date: 2010-10-08 19:54:46 +0200 (Fri, 08 Oct 2010)
New Revision: 3944

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/controllers/evaluate.py
Log:
* mpulsweb/controllers/evaluate.py
(EvaluateController.evaluateAction): There's no need to apply
htmlfill to the rendered evaluation result because it doesn't
contain any forms.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-08 15:11:03 UTC (rev 3943)
+++ base/trunk/ChangeLog	2010-10-08 17:54:46 UTC (rev 3944)
@@ -1,3 +1,10 @@
+2010-10-08  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/controllers/evaluate.py
+	(EvaluateController.evaluateAction): There's no need to apply
+	htmlfill to the rendered evaluation result because it doesn't
+	contain any forms.
+
 2010-10-08  Torsten Irlaender <torsten at intevation.de>
 
 	* mpulsweb/templates/casemanagement/caselist.mako: Issue1253: Fixed

Modified: base/trunk/mpulsweb/controllers/evaluate.py
===================================================================
--- base/trunk/mpulsweb/controllers/evaluate.py	2010-10-08 15:11:03 UTC (rev 3943)
+++ base/trunk/mpulsweb/controllers/evaluate.py	2010-10-08 17:54:46 UTC (rev 3944)
@@ -234,10 +234,7 @@
                 c.result = evalset.export(EvaluationExportHTML(show_percent=form_result['show_percent']))
                 session['evaluation.params'] = eval_params
                 session.save()
-                form = render('/evaluation/result.mako')
-                return formencode.htmlfill.render(form, defaults=form_result,
-                                                  errors=form_errors,
-                                                  auto_insert_errors=False)
+                return render('/evaluation/result.mako')
             except:
                 log.exception(_('Error: Evaluation failed'))
         finally:



More information about the Mpuls-commits mailing list