portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r553647 - /portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
Date Thu, 05 Jul 2007 21:42:05 GMT
Author: taylor
Date: Thu Jul  5 14:42:04 2007
New Revision: 553647

URL: http://svn.apache.org/viewvc?view=rev&rev=553647
Log:
deleting User Profile from UserManager was not clearing cache

Modified:
    portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java

Modified: portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java?view=diff&rev=553647&r1=553646&r2=553647
==============================================================================
--- portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
Thu Jul  5 14:42:04 2007
@@ -566,6 +566,9 @@
             throws ProfilerException
     {
         getPersistenceBrokerTemplate().delete(rule);
+        rulesPerPrincipal.remove(rule.getPrincipalName());
+        String key = this.makePrincipalRuleKey(rule.getPrincipalName(), rule.getLocatorName());
+        principalRules.remove(key);                
     }
 
     /*



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message