Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26169

Fix operation 'UserGroup.Suggestion' returning no users if search term is empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF03, 10.2
    • Fix Version/s: 9.10-HF23, 10.3
    • Component/s: Automation
    • Release Notes Summary:
      The operation 'UserGroup.Suggestion' returns all users if the search term is empty.
    • Backlog priority:
      1,000
    • Sprint:
      nxfit 10.10.1
    • Story Points:
      2

      Description

      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":{}}'
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h