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

Cannot Publish Web Content Via Asset Publisher

    Details

      Description

      Steps to Reproduce:

      1. Add Asset Publisher to the Welcome page
      2. Add New > Basic Web Content
      3. Input Title
      4. Click Publish

      Expected Result:
      Web Content publishes successfully.

      Actual Result:
      Portlet crashes with message: "Web Content is temporarily unavailable."
      Console errors are thrown:

      22:50:03,001 ERROR [http-bio-9080-exec-6][render_portlet_jsp:132] null
      com.liferay.portal.NoSuchLayoutException: No Layout exists with the primary key 0
      	at com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl.findByPrimaryKey(LayoutPersistenceImpl.java:8513)
      	at com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl.findByPrimaryKey(LayoutPersistenceImpl.java:8529)
      	at com.liferay.portal.service.base.LayoutLocalServiceBaseImpl.getLayout(LayoutLocalServiceBaseImpl.java:273)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:149)
      	at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:80)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:139)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:174)
      	at com.liferay.portal.service.LayoutLocalServiceUtil.getLayout(LayoutLocalServiceUtil.java:810)
      	at com.liferay.portlet.assetpublisher.util.AssetPublisherImpl.addAndStoreSelection(AssetPublisherImpl.java:154)
      	at com.liferay.portlet.assetpublisher.util.AssetPublisherUtil.addAndStoreSelection(AssetPublisherUtil.java:49)
      	at com.liferay.portlet.journal.action.EditArticleAction.updateArticle(EditArticleAction.java:622)
      	at com.liferay.portlet.journal.action.EditArticleAction.processAction(EditArticleAction.java:145)
      	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:163)
      	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              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:
                6 years, 20 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M3