Commits

Anonymous committed d0467bf

a few states will be reseted in doFinally now
Issue number: CACHE-144
Submitted by: Lars Torunski

Comments (0)

Files changed (1)

src/core/java/com/opensymphony/oscache/web/tag/CacheTag.java

         if (cancelUpdateRequired && (actualKey != null)) {
             cache.cancelUpdate(actualKey);
         }
+        
+        // reset all states, CACHE-144
+        groups = null;
+        scope = PageContext.APPLICATION_SCOPE;
+        cron = null;
+        key = null;
+        language = null;
+        refreshPolicyClass = null;
+        refreshPolicyParam = null;
+        time = DEFAULT_TIMEOUT;
+        refresh = false;
+        mode = 0;
     }
 
     /**