-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.6-SNAPSHOT
-
Component/s: None
-
Tags:
Group search in Admin Center does not return computed groups.
Indeed, in GroupsPageProvider, the searchGroups() method calls the following stack:
UserManagerImpl#searchGroups(String pattern) UserManagerImpl#searchGroups(String pattern, DocumentModel context) UserManagerImpl#searchGroups(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) Session#query(filter, fulltextClone, getGroupSortMap(), false);
So it never goes into the method that searches for computed groups:
UserManagerWithComputedGroups#searchGroups(Map<String, Serializable> filter, Set<String> fulltext)
Nevertheless, there is no problem while searching for groups in the rights management tab:
UserSuggestionActionsBean#getGroupsSuggestions(Object input) UserManagerWithComputedGroups#searchGroups(Map<String, Serializable> filter, Set<String> fulltext)