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

Cannot remove user from sites when edit one user

Details

    Description

      Description:
      The issue only can be reproduced on ee-6.2.x. Since 7.0 changed the UI design when edit ruser, so the issue won't occur.

      STEPS TO REPRODUCE:

      1. Add a new user "test1"
      2. Assign user "test1" to the "Liferay" site.
      3. Save. User is assigned to the site as expected.
      4. Remove user "test1" from the "Liferay" site.
      5. Save. User is removed from the site as expected.
      6. Stop portal.
      7. Change the property "users.form.update.main" by adding the following to portal-ext.properties:

          # Input a list of sections that will be included as part of the user form
          # when updating a user in the My Account portlet.
          users.form.update.main=organizations,sites,user-groups,roles
      

      8. Restart portal.
      9. Log into control panel.>. Assign user "test1" to the "Liferay" site>. Save.
      Check: User is assigned to the site as expected.
      10. Remove user "test1" from the "Liferay" site.

      Current behavior: User can not be removed from site and the following js error reported in browser: Uncaught TypeError: Util.getTop(...).Liferay.Util.Window.getById is not a function. The same issue also occur in organizations,sites,user-groups,roles section.
      Expected behavior: user can be removed from site successfully without errors.

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              hai.yu Hai Yu
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 44 weeks ago

                Packages

                  Version Package
                  6.2.X EE