[Mpuls-commits] r287 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 23 16:41:30 CET 2009


Author: teichmann
Date: 2009-02-23 16:41:28 +0100 (Mon, 23 Feb 2009)
New Revision: 287

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/datapage.py
Log:
Data store: Access depending vars in expression thru thread local page cache.



Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-02-23 15:26:28 UTC (rev 286)
+++ wasko/trunk/ChangeLog.txt	2009-02-23 15:41:28 UTC (rev 287)
@@ -1,5 +1,10 @@
 2009-02-23	Sascha L. Teichmann <teichmann at intevation.de>
 
+	* waskaweb/model/datapage.py: Access depending vars in expression thru
+	  thread local page cache.
+
+2009-02-23	Sascha L. Teichmann <teichmann at intevation.de>
+
 	Make warning mechanism wor on pages.
 
 	* waskaweb/model/casedocument.py: Fixed problem with accessing pages.
@@ -11,6 +16,7 @@
 	* waskaweb/lib/app_globals.py: Special factory for case documents.
 
 2009-02-23	Torsten Irlaender  <torsten.irlaender at intevation.de> 
+
 	Fixed issue36 (WASKO-Online)
 
 	* waskaweb/model/logbook.py,

Modified: wasko/trunk/waskaweb/model/datapage.py
===================================================================
--- wasko/trunk/waskaweb/model/datapage.py	2009-02-23 15:26:28 UTC (rev 286)
+++ wasko/trunk/waskaweb/model/datapage.py	2009-02-23 15:41:28 UTC (rev 287)
@@ -247,7 +247,7 @@
                     if dependency == k: # ignore because this comes from the web
                         continue
                     # XXX: Normally they are distributed over all kind of pages.
-                    value = ds.getValue(dependency)
+                    value = document.getData(dependency)
                     if value is None: isNull = True; break
                     vars[dependency] = value
                 if isNull:



More information about the Mpuls-commits mailing list