-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10-HF03, 10.2
-
Component/s: Automation
-
Release Notes Summary:The operation 'UserGroup.Suggestion' returns all users if the search term is empty.
-
Tags:
-
Backlog priority:1,000
-
Sprint:nxfit 10.10.1
-
Story Points:2
Calling operation UserGroup.Suggestion with an empty search term and search type USER_TYPE returns no users. This was not the behavior before NXP-24583 introduced code changes. Before that, all the users were returned, a 9.10 instance with hot fix HF02 returns all the users.
Here is the curl command to test:
curl -u Administrator:Administrator -X POST -H 'Content-Type:application/json' http://localhost:8080/nuxeo/site/automation/UserGroup.Suggestion -d '{"params":{"searchType":"USER_TYPE","searchTerm":""},"context":{}}'