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

/o/headless-admin-user/v1.0/my-user-account/sites return incorrect totalCount when pageSize is greater than the actual totalCount

    Details

      Description

      Steps to Reproduce:

      1. Login and make sure you have more than 4 sites.
      2. Navigate to localhost:8080/o/api?endpoint=http://localhost:8080/o/headless-admin-user/v1.0/openapi.json
      3. Under 'Default' find the /v1.0/my-user-account/sites api.
      4. Click try it out and execute a request.
      5. Check the totalCount that is returned.
      6. Set the pageSize to be less than the totalCount and execute another request.
      7. Check the totalCount that is returned.

      Expected Result:

      • The new totalCount should be the same as the first totalCount.

      Actual Result:

      • The new totalCount is equal to the pageSize and does not reflect the actual totalCount.

        Attachments

          Activity

            People

            Assignee:
            team-headless Product Team Headless Experience
            Reporter:
            evan.thibodeau Evan Thibodeau
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              46 weeks, 5 days ago

                Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP10
                7.2.10.4 DXP SP4
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                Master