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

MissingResourceException and missing pages after importing private pages

    Details

      Description

      Reproducing Steps

      1. Create a new site.
      2. Add a private page of type content.
      3. Export the private pages of the site, making sure to select the complete page tree, including the root (called "Private Pages"). Download the generated LAR file.
      4. Create a second site.
      5. Import the lar from step 3 as Public Pages for the second site.
      6. Add a new public widget page.
      7. Go to Build > Pages
        Expected: The tree of pages can be seen and interacted with.
        Observed: Nothing can be seen and the following error is shown in the logs
        2020-11-12 16:47:14.930 ERROR [http-nio-8080-exec-9][IncludeTag:128] Current URL /group/siteb/~/control_panel/manage?p_p_id=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=38336&p_p_auth=5JcbtHIs generates exception: java.util.MissingResourceException: Can't find bundle for base name content.Language, locale en_US
        java.util.MissingResourceException: Can't find bundle for base name content.Language, locale en_US
        	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
        	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
        	at java.util.ResourceBundle.getBundle(ResourceBundle.java:1308)
        	at com.liferay.portal.kernel.util.ResourceBundleUtil._getBundle(ResourceBundleUtil.java:260)
        	at com.liferay.portal.kernel.util.ResourceBundleUtil.getBundle(ResourceBundleUtil.java:98)
        	at com.liferay.portal.kernel.util.ResourceBundleUtil.getBundle(ResourceBundleUtil.java:88)
        	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.getLayoutsJSONArray(LayoutsAdminDisplayContext.java:531)
        	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext._getLayoutColumnsJSONArray(LayoutsAdminDisplayContext.java:1406)
        	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.getLayoutColumnsJSONArray(LayoutsAdminDisplayContext.java:451)
        	at org.apache.jsp.view_005flayouts_jsp._jspService(view_005flayouts_jsp:567)
        	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
        	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
        	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
        	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
        	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:369)
        	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)
        	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
        	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
        

      Note: This is a 7.1.x-only issue since it's caused by a control panel layout for the group being imported as a public page.

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            ricardo.couso Ricardo Couso
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Ricardo Couso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              43 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X