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

Errors thrown in console when an asset publisher displays a Web Content with a geolocalization field

    Details

      Description

      Steps to reproduce:

      1. Go to Content & Data > Web Content
      2. Go to Structures Tab
      3. Provide a name and add a Geolocation field
      4. Save the structure
      5. Create a new Web Content based on the structure
      6. Go to Site Builder > Pages
      7. Add a new content page based on Blank master template
      8. Add an Asset Publisher to the page (The web content will be shown but without a map)
      9. Publish the page

      Expected results: No errors are present in the log

      Actual results: The following error is present in the log

      2020-09-08 22:40:38.474 ERROR [http-nio-8080-exec-8][IncludeTag:128] Current URL /group/demo-intranet/map?p_p_id=com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&_com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet_javax.portlet.action=%2Fcontent_layout%2Fpublish_layout&p_auth=daE6Q30F&p_l_mode=edit generates exception: java.lang.ClassCastException: com.liferay.portlet.internal.ActionRequestImpl cannot be cast to javax.portlet.RenderRequest
      java.lang.ClassCastException: com.liferay.portlet.internal.ActionRequestImpl cannot be cast to javax.portlet.RenderRequest
       at org.apache.jsp.map_005fdisplay.page_jsp._jspService(page_jsp:190)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
       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:741)
       at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:372)
       at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:384)
       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)
       at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
       at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
       at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
       at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
       at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
       at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
       at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:407)
       at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:383)
       at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              ferdez Fernando Fernandez
              Participants of an Issue:
              Recent user:
              Yang Cao
              Engineering Assignee:
              Pavel Savinov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 weeks, 2 days ago

                  Packages

                  Version Package
                  7.3.X
                  Master