Commit 86e9716f authored by guus's avatar guus

OF-102: Group caching should not make changes invisible to the end user (patch by Peter Johnson).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13501 b35dd754-fafc-0310-a699-88a17e54d16e
parent 025b6dfb
......@@ -146,10 +146,18 @@ public class GroupManager {
if (type.equals("nameModified")) {
String originalName = (String) params.get("originalValue");
if (originalName != null) {
groupMetaCache.remove(originalName);
groupCache.remove(originalName);
}
groupMetaCache.remove(GROUP_NAMES_KEY);
groupMetaCache.remove(SHARED_GROUPS_KEY);
// Evict cached information for affected users
evictCachedUsersForGroup(group);
// Evict cached paginated group names
evictCachedPaginatedGroupNames();
}
}
// Set object again in cache. This is done so that other cluster nodes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment