Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.0 CE GA1
    • Fix Version/s: 6.2.0 CE M3
    • Component/s: Documents & Media
    • Environment:
      Windows 7, FireFox 13.0
      Alfresco Community 4.0
      Portlet Document And Media

      Description

      Steps to reproduce:
      1) Mount a CMIS repository (currently alfresco 4.0) to Documents and Media
      2) Create a new Folter in the mounted repository
      3) Create new Basic Document inside
      4) Upload a text file
      5) add new version of the same text file(edit/publish)
      6) update the document two times, you will get the next RepositoryException:

      12:28:10,017 ERROR [render_portlet_jsp:154] com.liferay.portal.kernel.repository.RepositoryException: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Only documents can be checked out!
      at com.liferay.portal.repository.cmis.CMISRepository.updateFileEntry(CMISRepository.java:1331)
      at com.liferay.portal.kernel.repository.cmis.CMISRepositoryHandler.updateFileEntry(CMISRepositoryHandler.java:475)
      at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.updateFileEntry(DLAppServiceImpl.java:2291)
      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.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      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.updateFileEntry(DLAppServiceUtil.java:1968)
      at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.updateFileEntry(EditFileEntryAction.java:739)
      at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.processAction(EditFileEntryAction.java:127)
      at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175)
      at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190)
      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
      at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:686)
      Caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Only documents can be checked out!
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:423)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:570)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.VersioningServiceImpl.checkOut(VersioningServiceImpl.java:83)
      at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.checkOut(DocumentImpl.java:168)
      at com.liferay.portal.repository.cmis.CMISRepository.updateFileEntry(CMISRepository.java:1273)
      at com.liferay.portal.kernel.repository.cmis.CMISRepositoryHandler.updateFileEntry(CMISRepositoryHandler.java:475)
      at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.updateFileEntry(DLAppServiceImpl.java:2291)

        Attachments

          Activity

            People

            Assignee:
            christine.pince Christine Pince (Inactive)
            Reporter:
            slever Sébastien
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 50 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE M3