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

Setting custom theme is not possible if not using logo

    Details

      Description

      Steps to reproduce

      1. Control Panel> Portal Settings> Display>Uncheck [Allow site administrators to use their own logo?]
      2. Go to Manage Site Pages
      3. Change the theme of the public/private pages
      4. Press Save

      Expected result: the new theme is applied on the selected site

      Actual result:

      Exception generated and the portlet became temporarily unavailable:

      19:53:24,308 ERROR [render_portlet_jsp:154] java.lang.NullPointerException
      at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:209)
      at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:170)
      at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:80)
      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:856)
      at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:635)
      at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:246)
      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)
      at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:538)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mate.thurzo Mate Thurzo (Inactive)
              Reporter:
              vilmos.papp Vilmos Papp
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 16 weeks, 4 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2