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

Portlet is temporarily unavailable for DM after deactivating staging

Details

    • Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Master
    • None
    • Documents & Media
    • 2
    • 3
    • LIMA | QA Sprint 15
    • Regression Bug

    Description

      Steps to reproduce:

      1. Add a new site
      2. Add a new page and place a Documents and Media widget on the page
      3. Enable Local Staging
      4. Go to DM to upload a document
      5. Publish it to live site
      6. Deactivate staging
      7. Go to the page to check the document

      Expected Result:
      The document shows on the Documents and Media widget.

      Actual Result:
      Portlet is temporarily unavailable error shows on the Documents and Media widget, error throws on the console:

      2021-11-29 05:48:03.644 ERROR [http-nio-8080-exec-4][render_portlet_jsp:131] null
      com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No Repository exists with the primary key 43167
              at com.liferay.portal.repository.RepositoryProviderImpl.checkRepository(RepositoryProviderImpl.java:360) ~[portal-impl.jar:?]
              at com.liferay.portal.repository.RepositoryProviderImpl.getRepository(RepositoryProviderImpl.java:281) ~[portal-impl.jar:?]
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getRepository(DLAppServiceImpl.java:3629) ~[portal-impl.jar:?]
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1875) ~[portal-impl.jar:?]
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1864) ~[portal-impl.jar:?]
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1854) ~[portal-impl.jar:?]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1521) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1521) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1521) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
              at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64) ~[portal-kernel.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
              at com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:69) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
      

      Attachments

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              yvonne.han Yvonne Han
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 2 days ago

                Packages

                  Version Package