WS find groups with FIND_BY_EXACT_ATTRIBUTE only works with legacy attributes

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 4.17.0, 5.15.0
    • Affects Version/s: None
    • Component/s: None
    • None

      curl -X POST --user GrouperSystem:pass -H "Content-Type: application/json; charset=UTF-8" http://localhost:8080/grouper/servicesRest/v4_0_460/groups --data '
        "WsRestFindGroupsRequest": {
          "wsQueryFilter": {
            "queryFilterType": "FIND_BY_EXACT_ATTRIBUTE",
            "stemName": "test",
            "groupAttributeValue": "policy",
            "groupAttributeName": "etc:objectTypes:grouperObjectTypeName"
          },
          "includeGroupDetail": "T",
        }
      }
      '
      

      This ends up calling Hib3GroupDAO.findAllByAttr(...), which specifically adds the legacy attribute prefix to the attribute name before searching for it. It is impossible to find other attributes that don't have the legacy prefix.

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

              Created:
              Updated:
              Resolved: