Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85721

New service methods for user data sync does not handle optional values

    Details

      Description

      getOrganizationsAndUserGroupsUsersCount

      organizationIds and userGroupIds should be able to be empty arrays

      http://localhost:8080/api/jsonws/user/get-organizations-and-user-groups-users-count/-organization-ids/-user-group-ids
      http://localhost:8080/api/jsonws/user/get-organizations-and-user-groups-users-count/-organization-ids/user-group-ids/20101
      http://localhost:8080/api/jsonws/user/get-organizations-and-user-groups-users-count/organization-ids/20099/-user-group-ids
      

      getUserGroups* getOrganizations* getGroups*

      name should be optional (returns all):

      http://localhost:8080/api/jsonws/usergroup/get-user-groups/company-id/20099/-name/start/-1/end/-1
      http://localhost:8080/api/jsonws/organization/get-organizations/company-id/20116/parent-organization-id/20099/-name/start/-1/end/-1
      http://localhost:8080/api/jsonws/group/get-groups/company-id/20116/parent-group-id/0/-name/site/true/start/-1/end/-1
      

      name should not be case sensitive:

      <finder-column case-sensitive="false" comparator="LIKE" name="name" />
      

        Attachments

          Activity

            People

            • Assignee:
              michael.saechang Michael Saechang
              Reporter:
              shinn.lok Shinn Lok
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 3 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master