[Mpuls-commits] r593 - wasko/branches/1.0

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Sep 5 10:37:43 CEST 2009


Author: frank
Date: 2009-09-05 10:37:42 +0200 (Sat, 05 Sep 2009)
New Revision: 593

Modified:
   wasko/branches/1.0/ChangeLog.txt
Log:
Call getData with explicite master_id to avoid side effects on case bundles.


Modified: wasko/branches/1.0/ChangeLog.txt
===================================================================
--- wasko/branches/1.0/ChangeLog.txt	2009-09-05 08:34:20 UTC (rev 592)
+++ wasko/branches/1.0/ChangeLog.txt	2009-09-05 08:37:42 UTC (rev 593)
@@ -1,5 +1,27 @@
 2009-09-04	Frank Koormann <frank.koormann at intevation.de>
 
+	Call getData with explicite master_id to avoid side effects on case bundles.
+	Anonymization check for all active cases of the current period, even if
+	started in the former period (modified isYoungerThan).
+
+	* waskaweb/model/phases_factory.py (RequiredFields.isPhaseComplete,
+	RequiredFields.missingFields, RequiredFields.getLinkListForPhase,
+	RequiredFields.phases_pairs, RequiredFields.currentPhase):
+	Hand through the master_id.
+
+	* waskaweb/model/case.py (CaseList.getCases): Avoid reuse of CaseFactory
+	(SessionCase.isYoungerThan, Case.isYoungerThan): Evaluate the CM end date:
+	Return True if case was active after given date.
+	(CaseFactory.loadById): Load also "datum_cm_ende".
+	(SessionCase.getFirstMeeting): Return first meeting (was: first_name)
+	(State.phasesAreConsistent, State.phasesAreCompleted): Explicit use of
+	master_id.
+
+	* waskaweb/controllers/case.py (_completeAnonymizedCase): 
+	Explicit master_id in calll of getData
+
+2009-09-04	Frank Koormann <frank.koormann at intevation.de>
+
 	Activate new barriers also for cases with pending anonymization.
 
 	* waskaweb/controllers/case_overview.py 



More information about the Mpuls-commits mailing list