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

Deleting CMIS repository from Documents and Media portlet throws exception

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1
    • Component/s: Documents & Media
    • Environment:

      Description

      Steps to Reproduce:

      1. Enter the following in portal-ext.properties:
        session.store.password=true
        company.security.auth.type=screenName
      2. Start repository vm
      3. Start Liferay Portal and sign in as test (not test@liferay.com)
      4. Go to > Control Panel > Documents and Media
      5. Add > Repository
        Name: Repository
        AtomPub URL: IP address of vm
      6. Save
      7. Click Repository
      8. Click Home
      9. Click drop down menu next to Repository > Delete
      10. Click OK if "Are you sure you want to delete this?" popup appears
      11. Assert "Documents and Media is temporarily unavailable" displays
      12. Assert exception in the console:
        ERROR [render_portlet_jsp:154] com.liferay.portal.kernel.repository.RepositoryException: No Repository exists with the primary key 10439
                at com.liferay.portal.service.impl.RepositoryServiceImpl.checkRepository(RepositoryServiceImpl.java:73)
                at com.liferay.portal.service.impl.RepositoryServiceImpl.getRepositoryImpl(RepositoryServiceImpl.java:134)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
                at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
                at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
                at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getRepository(DLAppServiceImpl.java:2681)
                at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFolder(DLAppServiceImpl.java:1100)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
                at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
                at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
                at com.liferay.portlet.documentlibrary.service.DLAppServiceUtil.getFolder(DLAppServiceUtil.java:908)
                at com.liferay.portlet.documentlibrary.action.ActionUtil.getFolder(ActionUtil.java:185)
                at com.liferay.portlet.documentlibrary.action.ActionUtil.getFolder(ActionUtil.java:202)
                at com.liferay.portlet.documentlibrary.action.ViewAction.render(ViewAction.java:47)
                at com.liferay.portal.struts.PortletAction.execute(PortletAction.java:111)
                at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                at com.liferay.portal.struts.PortletRequestProcessor.processActionPerform(PortletRequestProcessor.java:441)
                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              timothy.hsu Timothy Hsu (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 18 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2