WsGetGroupsLiteResult with no found groups should return empty list

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: 1.3.0
    • Component/s: WS
    • None

      {
        "WsGetGroupsLiteResult": {
          "resultMetadata": {
            "success": "T",
            "resultCode": "SUCCESS",
            "resultMessage": "Success for: clientVersion: 2.6.5, subjectLookups: Array size: 1: [0]: WsSubjectLookup[subjectId=banderson]\n\nmemberFilter: All, includeGroupDetail: false, actAsSubject: null\n, params: null\n fieldName1: null\n, scope: null, wsStemLookup: WsStemLookup[]\n, stemScope: null, enabled: null, pageSize: null, pageNumber: null, sortString: null, ascending: null\n, pointInTimeFrom: null, pointInTimeTo: null"
          },
          "wsSubject": {
            "sourceId": "ldap",
            "success": "T",
            "name": "Bob Anderson",
            "resultCode": "SUCCESS",
            "id": "banderson"
          },
          "responseMetadata": {
            "serverVersion": "2.6.15",
            "millis": "473"
          }
        }
      }
      

      When no groups are found, it is missing the wsGroups node, which means callers may need to do an extra for null or get a null pointer exception.

            Assignee:
            Chris Hyzer (upenn.edu)
            Reporter:
            Chad Redman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: