Build: #1612 was successful Changes by André Berenguel <andre.berenguel@gmail.com>
Code commits
Openfire (master)
-
André Berenguel <andre.berenguel@gmail.com> ac376c6e9db45b30c4769d20ca110c761b1af718
OF-1296 GroupManager.getSharedGroups returning old values (#758)
* Evict user sharedGroups cache when adding/removing members of a group
* Clear groupMetaCache when sharing/unsharing a group with all users
* Allow to remove admin group members in the 'User Groups' screen
* Clear groupMetaCache when sharing/unsharing a group with other groups
* Log when trying to evict cache of cyclic shared groups, like A->B->C->A
* Make the GroupManager listeners be registered before RosterManager
In a scenario when a user is added to a group, the groupMetaCache is cleared after the RosterManager handling.
This commit makes the GroupManager clear the groupMetaCache first and so the RosterManager reload a fresh roster, based on a fresh groupManager state.
* OF-1296: Thread safe removal from collection.
* Fixed some imports
* update apache commons import- src/java/org/jivesoftware/openfire/group/GroupManager.java (version ac376c6e9db45b30c4769d20ca110c761b1af718)
- src/java/org/jivesoftware/openfire/roster/RosterManager.java (version ac376c6e9db45b30c4769d20ca110c761b1af718)
- src/web/user-groups.jsp (version ac376c6e9db45b30c4769d20ca110c761b1af718)