[Mpuls-commits] r2831 - base/trunk/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon May 31 12:05:07 CEST 2010
Author: torsten
Date: 2010-05-31 12:05:04 +0200 (Mon, 31 May 2010)
New Revision: 2831
Modified:
base/trunk/mpulsweb/controllers/appointment.py
Log:
* mpulsweb/controllers/appointment.py (AppointmentController.createAction):Do not loose values on form errors.
Modified: base/trunk/mpulsweb/controllers/appointment.py
===================================================================
--- base/trunk/mpulsweb/controllers/appointment.py 2010-05-31 10:04:55 UTC (rev 2830)
+++ base/trunk/mpulsweb/controllers/appointment.py 2010-05-31 10:05:04 UTC (rev 2831)
@@ -90,7 +90,7 @@
c.form_errors = {}
c.form_result = {}
try:
- form_result = validator.to_python(request.params)
+ c.form_result = validator.to_python(request.params)
# Create appointment
appointment = factory.createNew()
appointment.setData(form_result)
More information about the Mpuls-commits
mailing list