Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0, 5.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 7.10
      Sun Java 6
      Tomcat 6

      Description

      When a community owner assigns a community member to the community administrator role through the communities portlet the following occurs:

      1. portlet responds with : You do not have the required permissions.
      2. User is assigned to the role successfully even though the error appeared.
      3. The owner is not capable of REMOVING the assigned administrator role.
      4. The following appears in catalina.out:

      13:16:52,614 ERROR [AdvancedPermissionChecker:619] Bag should never be null
      13:16:52,615 ERROR [AdvancedPermissionChecker:254] java.lang.NullPointerException
      java.lang.NullPointerException
      at com.liferay.portal.security.permission.AdvancedPermissionChecker.isCommunityOwnerImpl(AdvancedPermissionChecker.java:622)
      at com.liferay.portal.security.permission.AdvancedPermissionChecker.isCommunityOwner(AdvancedPermissionChecker.java:251)
      at com.liferay.portal.service.impl.UserGroupRoleServiceImpl.deleteUserGroupRoles(UserGroupRoleServiceImpl.java:81).....
      <<cut>>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Subcomponents