[Mpuls-commits] r2507 - in wasko/branches/2.0: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 23 15:48:17 CEST 2010


Author: roland
Date: 2010-04-23 15:48:12 +0200 (Fri, 23 Apr 2010)
New Revision: 2507

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
Wald issue #1376 wrong error message in password dialog

Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-04-23 12:52:12 UTC (rev 2506)
+++ wasko/branches/2.0/ChangeLog	2010-04-23 13:48:12 UTC (rev 2507)
@@ -8,7 +8,7 @@
 	* mpulsweb/templates/documents/global_overview.mako:
 	* mpulsweb/templates/casemanagement/caselist.mako: Wald issue #1452:
 	added hover to some of the overview tables and made most elements
-        clickable
+	clickable
 	* mpulsweb/public/images/svg/sort_desc.svg:
 	* mpulsweb/public/images/svg/sort_asc_active.svg:
 	* mpulsweb/public/images/svg/sort_asc.svg:
@@ -18,6 +18,8 @@
 	* mpulsweb/i18n/mpulsweb.pot:
 	* mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po: Added a visual feedback
 	for sorting in tables
+	* mpulsweb/lib/validators.py: Wald issue #1376 wrong error message
+	when setting a new password
 
 
 2010-04-23  Torsten Irländer <torsten.irlaender at intevation.de>

Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py	2010-04-23 12:52:12 UTC (rev 2506)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py	2010-04-23 13:48:12 UTC (rev 2507)
@@ -484,8 +484,8 @@
 
 class NewPasswordForm(BaseFormValidator):
 
-    passwd = SecurePassword()
-    passwd2 = String()
+    passwd  = SecurePassword()
+    passwd2 = String(min=1)
     chained_validators = [FieldsMatch('passwd', 'passwd2')]
 
 



More information about the Mpuls-commits mailing list