[Mpuls-commits] r4748 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 2 15:46:00 CET 2011


Author: torsten
Date: 2011-03-02 15:45:59 +0100 (Wed, 02 Mar 2011)
New Revision: 4748

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/config.py
Log:
Fixed issue 1878


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-02 14:41:44 UTC (rev 4747)
+++ base/trunk/ChangeLog	2011-03-02 14:45:59 UTC (rev 4748)
@@ -18,6 +18,9 @@
 2011-03-02  Torsten Irlaender <torsten at intevation.de>
 
 	* mpulsweb/model/appointment.py: Fixed formatting of SQL-querys 
+	* mpulsweb/lib/config.py: Issue1878: Set default values for minimal
+	anonymization condition to "0" instead of "FALSE". FALSE evaluates to
+	"TRUE" in libformed rule expressions.
 
 2011-03-02  Ludwig Reiter <ludwig.reiter at intevation.de>
 

Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py	2011-03-02 14:41:44 UTC (rev 4747)
+++ base/trunk/mpulsweb/lib/config.py	2011-03-02 14:45:59 UTC (rev 4748)
@@ -328,10 +328,10 @@
 
         # Set condition which needs to to be true to check only the minimal
         # fields for anonymisation instead of all required fields. Notation is
-        # the same used in rules in formed (polnish notation). Default is FALSE
+        # the same used in rules in formed (polnish notation). Default is "0" 
         # which means the on default the case must be in full consistence state
         # before it is allowed to be anonymized
-        set('phases', 'minimal_consistence_conditon', "FALSE")
+        set('phases', 'minimal_consistence_conditon', "0")
 
         # Set minimal fields which must be set before anonymize
         set('phases', 'minimal_fields_to_anonymize', [])



More information about the Mpuls-commits mailing list