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

User Groups - Disabling propagation for site template and then saving causes a NPE and User Groups is unavailable error. Site Template does not save.

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.2.0 CE M2
    • Component/s: Site Templates
    • Labels:
    • Environment:
      Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: cad9514323b1bb302582854c7810345d0989d58c.
      Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: d8633f74f55d7ef7756a08ecbb04942a9e3812fd.

      Description

      When you create a new User Group, select a site template (either public or private pages), and disable propagation of changes from the site template, you get a null pointer exception in the console and a "User Groups is temporarily unavailable" error message in the browser.

      If you navigate back to the user group that was created, the site template that was selected under Public/Private Pages is not saved.

      1. Navigate to Control Panel > User Groups
      2. Click Add to create a new user group called Test User Group
      3. Under Public Pages, select Community Site
      4. Uncheck the "Enable propagation of changes from the site template Community Site" checkbox
      5. Click Save

      15:19:16,065 ERROR [render_portlet_jsp:154] java.lang.NullPointerException
              at com.liferay.portlet.sites.util.SitesUtil.updateLayoutSetPrototypeLink(SitesUtil.java:850)
              at com.liferay.portlet.sites.util.SitesUtil.updateLayoutSetPrototypesLinks(SitesUtil.java:775)
              at com.liferay.portlet.usergroupsadmin.action.EditUserGroupAction.updateUserGroup(EditUserGroupAction.java:167)
              at com.liferay.portlet.usergroupsadmin.action.EditUserGroupAction.processAction(EditUserGroupAction.java:60)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175)
              at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:686)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361)
              at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:845)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:633)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
              at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luyang.tan Luyang Tan (Inactive)
              Reporter:
              albert.lee Albert Lee
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 20 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2