[Mpuls-commits] r2412 - in wasko/branches/2.0: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 19 15:45:01 CEST 2010


Author: roland
Date: 2010-04-19 15:45:00 +0200 (Mon, 19 Apr 2010)
New Revision: 2412

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/controllers/privacy.py
Log:
Fixed Wald issue #1397: correct display of warning dialog

Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-04-19 11:53:41 UTC (rev 2411)
+++ wasko/branches/2.0/ChangeLog	2010-04-19 13:45:00 UTC (rev 2412)
@@ -1,3 +1,8 @@
+2010-04-19  Roland Geider <roland.geider at intevation.de>
+
+	* mpulsweb/controllers/privacy.py:
+	Fixed Wald issue #1397: correct display of warning dialog
+
 2010-04-19  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* mpulsweb/templates/casebundle/standin.mako: Wald #1393. Fixed naming

Modified: wasko/branches/2.0/mpulsweb/controllers/privacy.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/privacy.py	2010-04-19 11:53:41 UTC (rev 2411)
+++ wasko/branches/2.0/mpulsweb/controllers/privacy.py	2010-04-19 13:45:00 UTC (rev 2412)
@@ -102,7 +102,7 @@
             case.check_anonymizeability(min_fields)
         except ConsistenceCheckException, e:
             c.dialog_title = MARKANONYMIZE_FAILED
-            c.dialog_text = e.value
+            c.dialog_text = h.literal(e.value)
             c.url_ok = h.url_for(controller='/case', action='digest',
                                  id=case.id)
             return render('/casemanagement/dialogs/failed_markanonymize.mako')



More information about the Mpuls-commits mailing list