[Mpuls-commits] r3758 - wasko/trunk/waskoweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Sep 22 14:26:04 CEST 2010


Author: torsten
Date: 2010-09-22 14:26:04 +0200 (Wed, 22 Sep 2010)
New Revision: 3758

Modified:
   wasko/trunk/waskoweb/lib/validators.py
Log:
Fixed issue1201


Modified: wasko/trunk/waskoweb/lib/validators.py
===================================================================
--- wasko/trunk/waskoweb/lib/validators.py	2010-09-22 12:21:21 UTC (rev 3757)
+++ wasko/trunk/waskoweb/lib/validators.py	2010-09-22 12:26:04 UTC (rev 3758)
@@ -48,7 +48,7 @@
     filter_extra_fields = True
 
     cm_datum_verlaengerung_1 = DateCheck(not_empty=True)
-    cm_bestaet_verlaengerung_1 = String(if_missing="0")
+    cm_bestaet_verlaengerung_1 = String(if_missing="")
     cm_anmerk_verlaengerung_1 = String()
 
 
@@ -60,11 +60,11 @@
     # Data from first extratime. Needed here to be available in errorcase for
     # htmlfill
     cm_datum_verlaengerung_1 = DateCheck(not_empty=True)
-    cm_bestaet_verlaengerung_1 = String(if_missing="0")
+    cm_bestaet_verlaengerung_1 = String(if_missing="")
     cm_anmerk_verlaengerung_1 = String()
 
     cm_datum_verlaengerung_2 = DateCheck(not_empty=True)
-    cm_bestaet_verlaengerung_2 = String(if_missing="0")
+    cm_bestaet_verlaengerung_2 = String(if_missing="")
     cm_anmerk_verlaengerung_2 = String()
 
 



More information about the Mpuls-commits mailing list