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

View Members in Segments doesn't display the correct number of members after second clicking

    Details

      Description

      Steps to reproduce

      1. Go to People > Segments
      2. Add a new user segment
      3. Drag the user to the condition field
      4. Select the current user
      5. Assert there's "Conditions Match1 Member" displayed
      6. Click View Members
      7. Assert the selected user displays
      8. Close the window and click View Members again
      9. Assert the selected user displays

      Actual behavior

      The selected user doesn't display. It displays the last result of members. For example, if the last member has 2 members and the current member is 1, the result will be 2 members in the second clicking to View Members.

      Expected behavior

      The selected user displays despite how many times clicking.

      Notes 

      There is an existing workaround that is to save this segment and click View Members.

      Test cases to verify the fix

      • Create a new user segment (as the steps to reproduce) and verify that the second time that the user clicks on View Members, the list of members is correct
      • Open an existing user segment, click on View Members, check the list, go to other segment and verify that the list is different
      • Open an existing user segment, click on View Members, check the list, click on new user segment and verify that the list is empty
      • Open an existing user segment, click on View Members, check the list, change the conditions to match more users, click View Members again

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              lu.liu Lu Liu
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Sarai Diaz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                41 weeks, 1 day ago

                  Packages

                  Version Package
                  7.3.X
                  7.4.13 DXP GA1
                  Master