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

User is unable to see site template from control panel.

    Details

      Description

      Issue:
      User is unable to see site template from control panel with proper permissions.

      Steps to reproduce:

      1. Login as Omin-admin.
      2. Create a regular role and give it the following permissions
        Portal:Go to Control Panel
        Site Templates:Access in Control Panel
      3. Create a user and assign that role to him.
      4. Login as the new user and click on Admin> Control Panel > Sites Template.

      Expected behaviour:
      The Site Templates are displayed on the page.

      Actual behaviour:
      The space under an empty rectangular frame is empty. The server throws this exception:

      SEVERE: Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
              at org.apache.jsp.html.portlet.layout_005fset_005fprototypes.view_jsp._jspService(view_jsp.java:794)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      

        Attachments

        1. fixed.png
          fixed.png
          66 kB
        2. reproduced.png
          reproduced.png
          62 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              john.zhao John Zhao (Inactive)
              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:
                6 years, 29 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M3