Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2547

Removing user from group invite list doesn't work if filter doesn't match

    Details

    • Fix Priority:
      4
    • Affects Portal Version/s:
      Master, 6.2.x, 6.2.10 EE GA1
    • Portal Fix Version/s:
      master

      Description

      Steps to reproduce:

      1. Start Liferay 6.2 with Social Office 3.0.2 and log in as default admin user
      2. Create 2 additional users (test2, test3)
      3. Go to Site Administration for "Liferay" -> Pages -> Site Pages -> Public Pages -> Welcome
      4. Change "Type" to "Panel" and below that add "Undefined / Invite Members"
      5. Go to "Welcome" page click "Invite Members" -> "Invite members to this site."
      6. Add user "test2" and "test3" by clicking on them
      7. Type "test2" in the filter input field (only "test2" is shown on the left, both are shown under "Members to Invite")
      8. Click the "minus" button to remove user "test3" from "Members to Invite"

      Actual Result: a javascript error is thrown "Uncaught TypeError: Cannot read property 'removeClass' of null" and user "test3" is not removed
      Expected Result: No error and user should be removed

      TypeError: user is null
      	user.removeClass('invited');
      

      reproduced on ee-6.2.x @ commit 2ee35345c8fc1a32db6ad2de6604c45ce366f180

        Attachments

          Activity

            People

            • Assignee:
              mandy.lee Mandy Lee (Inactive)
              Reporter:
              zsolt.szabo Zsolt Szabo (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 19 weeks, 6 days ago

                Packages

                Version Package
                3.X EE