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

Cannot edit Teams if the user arrives from the 'Users and Organizations' portlet

    Details

      Description

      === Reproduction steps for 6.1.x (or see reproduction-6.1.x.ogv)

      1. Start a Liferay 6.1.30 instance.
      2. Go to Control Panel --> Users and Organizations
      3. Create an organisation (Add --> Regular Organization).
      4. Go to Organization Site tab and check the "Create Site" box.
      5. Go to Sites in the Control Panel.
      6. Click on Actions --> Manage Memberships next to the newly created organisation.
      7. Select View Teams and Add a new team.
      8. Go back to users and Organizations and click on the newly created organisation.
      9. Click on the newly created team.
      10. Choose Actions --> Edit. or Click on the name of the Team

      Result: A blank Control Panel page gets loaded, and the following errors appear in the log:

          16:50:13,138 ERROR [http-bio-6111-exec-6][PortletRequestProcessor:313] User ID null
          16:50:13,141 ERROR [http-bio-6111-exec-6][PortletRequestProcessor:314] Current URL /group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10523&refererPlid=10183&_125_struts_action=%2Fusers_admin%2Fedit_team&_125_redirect=http%3A%2F%2Flocalhost%3A6111%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10523%26refererPlid%3D10183%26_125_groupId%3D10523%26_125_refererPlid%3D10183%26_125_redirect%3Dhttp%253A%252F%252Flocalhost%253A6111%252Fgroup%252Fcontrol_panel%252Fmanage%253Fp_p_id%253D125%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526doAsGroupId%253D10523%2526refererPlid%253D10183%2526_125_usersListView%253Dtree%2526_125_refererPlid%253D10183%2526_125_doAsGroupId%253D10523%2526_125_struts_action%253D%25252Fusers_admin%25252Fview%2526_125_organizationId%253D10522%26_125_doAsGroupId%3D10523%26_125_struts_action%3D%252Fusers_admin%252Fview_teams&_125_teamId=10561
          16:50:13,141 ERROR [http-bio-6111-exec-6][PortletRequestProcessor:315] Referer http://localhost:6111/group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10523&refererPlid=10183&_125_struts_action=%2Fusers_admin%2Fview_teams&_125_redirect=http%3A%2F%2Flocalhost%3A6111%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10523%26refererPlid%3D10183%26_125_usersListView%3Dtree%26_125_refererPlid%3D10183%26_125_doAsGroupId%3D10523%26_125_struts_action%3D%252Fusers_admin%252Fview%26_125_organizationId%3D10522&_125_groupId=10523
          16:50:13,142 ERROR [http-bio-6111-exec-6][PortletRequestProcessor:316] Remote address 127.0.0.1
          16:50:13,142 ERROR [http-bio-6111-exec-6][PortletRequestProcessor:318] Invalid path was requested /users_admin/edit_team
      

      Edit Team works fine, if you access it through the Site Memberships/View Teams path.

      === Reproduction steps for master/6.2.x (or see reproduction-master.ogv)

      1. Start portal
      2. Login with Test
      3. Go to 'Admin/Control Panel/Users and Organizations'
      4. Add 'Regular Organization' called "TestOrg" with Organization Site/Public Pages - Community
      5. Go back

      6. Click on Actions for "TestOrg"/Manage Site
      7. Scroll down on the page to section "Membership Options"
      8. Check in 'Allow Manual Membership Management' >>> Now the 'Users' section appears on the left panel
      9. Go to Users/Site Teams
      10. Add a new Team called "Liferay"

      11. Go to Control Panel/Users and Organizations
      12. Click on "TestOrg"
      13. Assert that '1 Team' link appears. Click on it.
      14. On the newly loaded page, click on either the name of the Team or on Actions/Edit

      Result A blank Control Panel page gets loaded, and the following errors appear in the log:

      16:24:58,792 ERROR [http-bio-8080-exec-24][PortletRequestProcessor:324] Remote address 127.0.0.1
      16:24:58,792 ERROR [http-bio-8080-exec-24][PortletRequestProcessor:326] Invalid path was requested /users_admin/edit_team
      16:33:31,197 ERROR [http-bio-8080-exec-19][PortletRequestProcessor:321] User ID null
      16:33:31,203 ERROR [http-bio-8080-exec-19][PortletRequestProcessor:322] Current URL /group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10187&_125_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26refererPlid%3D10187%26_125_groupId%3D10702%26_125_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fcontrol_panel%252Fmanage%253Fp_p_id%253D125%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526refererPlid%253D10187%2526_125_usersListView%253Dtree%2526_125_struts_action%253D%25252Fusers_admin%25252Fview%2526_125_organizationId%253D10701%26_125_struts_action%3D%252Fusers_admin%252Fview_teams&_125_struts_action=%2Fusers_admin%2Fedit_team&_125_teamId=10734
      16:33:31,205 ERROR [http-bio-8080-exec-19][PortletRequestProcessor:323] Referer http://localhost:8080/group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10187&_125_groupId=10702&_125_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26refererPlid%3D10187%26_125_usersListView%3Dtree%26_125_struts_action%3D%252Fusers_admin%252Fview%26_125_organizationId%3D10701&_125_struts_action=%2Fusers_admin%2Fview_teams
      16:33:31,207 ERROR [http-bio-8080-exec-19][PortletRequestProcessor:324] Remote address 127.0.0.1
      16:33:31,209 ERROR [http-bio-8080-exec-19][PortletRequestProcessor:326] Invalid path was requested /users_admin/edit_team
      
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 35 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE
                  7.0.0 M1