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

When turning remote staging on, doc lib .png causes an issue when tied into global staging

    Details

      Description

      1. Setup two instances of liferay. Staging on localhost:8080, Live on localhost:8082
      2. Create a blank "Test" page on both Liferay sites.
      3. On Staging, upload image.png to the Global Document Library
      4. Create a new Global Web Content record with the new Template and Structure. Specify the image.png as the Consultant Headshot and filler text for remaining fields. Save & Publish.
      5. Perform the Global -> Global Live push from the Control Panel with a Range of "All". This should work correctly.
      6. Open the Web Content record, update minorly click Publish.
      7. Perform the Global -> Global Live push from the Control Panel with a Range of "From Last Publish Date". This seems to break inconsistently for me.
      8. Go to the Staging "Test" page and add a Web Content Display portlet and select the test Web Content.
      9. Attempt a publish from the "Test" page. This seems to give the "Manage Pages is temporarily unavailable" error in the dialog regardless of the selected Range.

      The logs contain the below error:

      20:57:49,610 ERROR [http-bio-8080-exec-6][render_portlet_jsp:154] com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the key {uuid=a321ce8e-ab27-4de5-a0bd-7e857f11faa6, groupId=10180}
      at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:82)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1062)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1002)
      at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:735)
      at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:147)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1382)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1428)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1353)
      at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:197)
      at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:107)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      

      It was the image that did not allow me to remote stage, giving me a "manage pages is temporarily unavailable" in the staging configuration box.

      I also checked the database to see if this was in the DLFileEntry table and surely enough, it is there with the correct groupId and UUID.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              arthur.hsiao Arthur Hsiao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M5