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

Active buttons in Members widget are not displayed correctly

    Details

      Description

      Steps:

      1. Create another user as your site member so you can interact with him
      2. Navigate to your site
      3. Add Members widget from  menu
      4. In Members widget, select created user / select yourself
      5. All buttons are displayed (eg. Connect + Disconnect, Follow + Unfollow etc.)

      Gif shows comparison between master and 7.0.5 CE GA6 version.

      Expected result: Buttons are displayed according to current state (eg. there is only Connect, Follow, Block button as default, and when user click Follow, button is changed to Unfollow etc..). If user clicks on his own profile, only vCard button is displayed
      Actual result: All buttons are displayed, no matter what state they are in. All buttons are also displayed if user clicks on his own profile.

      Reproducible:

      • CentOS, MySQL 5.6, Tomcat 9.0.6, FF 59.0.2
      • 7.1.x nightly Master git ID: a15cc02ac537085234d82fc01a788f1e04f908cf

      Fix priority: S3 + L3 = 3

        Attachments

          Activity

            People

            • Assignee:
              hong.zhao Hong Zhao
              Reporter:
              petr.matej Petr Matej
              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, 8 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                Master