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

Console error when editing a web content article in an asset publisher widget from the contents panel

    Details

      Description

      Steps to Reproduce:

      1. Enable the page editor "Contents" panel
      2. Add a basic web content article
      3. Create a new content page/content page template with an asset publisher widget
      4. Configure the widget to use manual selection and to display your basic web content article
      5. Go to the "Contents" panel in the page editor
      6. Click on the kebab ellipsis to edit the content

      Expected Result:
      Can edit web content article

      Actual Result:
      Can't edit web content article normally and there are errors in the console log:

      2019-09-27 19:13:33.150 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_journal_web_portlet_JournalPortlet&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&refererPlid=19&_com_liferay_journal_web_portlet_JournalPortlet_mvcPath=%2Fedit_article.jsp&_com_liferay_journal_web_portlet_JournalPortlet_groupId=20120&_com_liferay_journal_web_portlet_JournalPortlet_articleId=37539&_com_liferay_journal_web_portlet_JournalPortlet_version=1.3&_com_liferay_journal_web_portlet_JournalPortlet_redirect=%2Fweb%2Fguest%2Fcontent-page1%3Fp_l_mode%3Dedit%26p_l_back_url%3D%252Fgroup%252Fguest%252F%257E%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_layout_admin_web_portlet_GroupPagesPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_v_l_s_g_id%253D20120%2526p_p_auth%253DRSbcNol1%26p_p_state%3Dnormal%26sidebarPanelId%3Dcontents%26activeItemId%3D37663%26activeItemType%3Dfragments-editor-fragment&_com_liferay_journal_web_portlet_JournalPortlet_referringPortletResource=com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet&p_p_auth=cPogcrvv generates exception: java.lang.UnsupportedOperationException: Requires 3.0 opt-in
      java.lang.UnsupportedOperationException: Requires 3.0 opt-in
      	at com.liferay.portlet.internal.PortletRequestImpl.getRenderParameters(PortletRequestImpl.java:522)
      	at com.liferay.portlet.internal.PortletURLImpl._initMutableRenderParameters(PortletURLImpl.java:1607)
      	at com.liferay.portlet.internal.PortletURLImpl.<init>(PortletURLImpl.java:1280)
      	at com.liferay.portlet.internal.PortletURLImpl.<init>(PortletURLImpl.java:119)
      	at com.liferay.portlet.internal.RenderURLImpl.<init>(RenderURLImpl.java:43)
      	at com.liferay.portlet.internal.PortletURLFactoryImpl._create(PortletURLFactoryImpl.java:236)
      	at com.liferay.portlet.internal.PortletURLFactoryImpl._create(PortletURLFactoryImpl.java:248)
      	at com.liferay.portlet.internal.PortletURLFactoryImpl.create(PortletURLFactoryImpl.java:173)
      	at com.liferay.portal.kernel.portlet.PortletURLFactoryUtil.create(PortletURLFactoryUtil.java:115)
      	at com.liferay.asset.taglib.internal.display.context.AssetEntryUsagesDisplayContext.getPreviewURL(AssetEntryUsagesDisplayContext.java:306)
      	at org.apache.jsp.asset_005fview_005fusages.page_jsp._jspService(page_jsp.java:307)
      	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:325)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:336)
      	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)

       

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7 Portal master GIT ID: daea4c3a91fe8b5dc6f2b71e08bed03388c03568

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brooke.dalton Brooke Dalton
                Reporter:
                brooke.dalton Brooke Dalton
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  7.2.1 CE GA2
                  Master