← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6189: Quickly fixed cache issue

 

------------------------------------------------------------
revno: 6189
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-03-06 14:48:54 +0100
message:
  Quickly fixed cache issue
modified:
  dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml	2012-03-06 09:28:52 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml	2012-03-06 13:48:54 +0000
@@ -82,6 +82,12 @@
         <interceptor-ref name="organisationUnitTreeInterceptor" />
         <interceptor-ref name="commonInterceptors" />
       </interceptor-stack>
+	  
+      <interceptor-stack name="cacheStack">
+        <interceptor-ref name="cacheInterceptor" />
+        <interceptor-ref name="commonInterceptors" />
+      </interceptor-stack>
+	  
     </interceptors>
 
     <default-interceptor-ref name="exceptionStack" />
@@ -298,12 +304,12 @@
 
     <action name="i18nJavaScript" class="org.hisp.dhis.commons.action.NoAction">
       <result name="success" type="velocity-javascript">/dhis-web-commons/i18n/i18n.vm</result>
-	  <interceptor-ref name="cacheInterceptor"/>
+	  <interceptor-ref name="cacheStack"/>
     </action>
 
     <action name="messagesJavaScript" class="org.hisp.dhis.commons.action.NoAction">
       <result name="success" type="velocity-javascript">/dhis-web-commons/i18n/messages.vm</result>
-	  <interceptor-ref name="cacheInterceptor"/>
+	  <interceptor-ref name="cacheStack"/>
     </action>
 
   </package>