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

Deleting repository cause error message

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE B1
    • Fix Version/s: 6.2.0 CE GA1
    • Component/s: DM
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: ab7015b11f5549ffe38c1bcc9ccd0d74ede2a565.

      Description

      1. Enters the following in portal-ext.properties:
        session.store.password=true
        company.security.auth.type=screenName
        
      2. In C:\Program Files (x86)\OpenOffice.org 3\program run the following command
        soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
        
      3. Create a new user screen name: admin.
      4. Click Roles > Select > Administrator.
      5. Sign out test user.
      6. Sign in admin user.
      7. Flag Enabled under 'Enabling OpenOffice integration provides document conversion on functionality.'.
      8. Add Documents and Media portlet to new page.
      9. Click Add/Repository.
        1. Name: Alfresco
        2. Description: Alfresco
        3. Repository Type: CMIS Repository (AtomPub)
        4. AtomPub URL: http://[IncorrectIPAddress]:8080/alfresco/service/api/cmis
      10. Enter the repository.
      11. Create a folder.
      12. Enter the folder upload new document.
      13. Then delete the folder.
      14. Try delete the repository.

      Expected result:
      Users able to delete the repository without any exception.

      Actual result:
      The repository is deleted but tomcat cause error message and the portlet broken.

      Documents and Media is temporarily unavailable.
      
      06:02:45,570 ERROR [http-bio-9080-exec-4][XugglerImpl:130] Liferay does not have the Xuggler native libraries installed.
       In order to generate video and audio previews, please follow the instructions for Xuggler in the Server Administration
      section of the Control Panel at: http://<server>/group/control_panel/manage/-/server/external-services
      06:04:03,772 INFO  [liferay/document_library_pdf_processor-1][SocketOpenOfficeConnection:125] trying to (re)connect
      06:04:03,851 INFO  [liferay/document_library_pdf_processor-1][SocketOpenOfficeConnection:125] connected
      06:04:57,356 ERROR [http-bio-9080-exec-1][render_portlet_jsp:157] com.liferay.portal.kernel.repository.RepositoryExcepti
      on: No Repository exists with the primary key 10488
              at com.liferay.portal.service.impl.RepositoryServiceImpl.checkRepository(RepositoryServiceImpl.java:76)
              at com.liferay.portal.service.impl.RepositoryServiceImpl.getRepositoryImpl(RepositoryServiceImpl.java:143)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:186)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFolderRepository(DLAppServiceImpl.java:3
      354)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFolder(DLAppServiceImpl.java:1212)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 41 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE GA1