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

createDocumentFromSource is not supported by the AtomPub binding

    Details

      Description

      Configuration:

      dl.store.cmis.credentials.username=admin
      dl.store.cmis.credentials.password=admin
      dl.store.cmis.repository.url=http://[host]:[port]/alfresco/service/api/cmis
      dl.store.cmis.system.root.dir=Liferay Home
      session.store.password=true
      company.security.auth.type=screenName
      dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore

      Steps to reproduce:
      1) Upload a document
      2) Edit it (change the file name)
      3) You get an exception:

      14:20:30,515 ERROR [render_portlet_jsp:154] org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: createDocumentFromSource is not supported by the AtomPub binding!
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createDocumentFromSource(ObjectServiceImpl.java:130)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocumentFromSource(SessionImpl.java:748)
      at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.copy(DocumentImpl.java:134)
      at com.liferay.portlet.documentlibrary.store.CMISStore.copyFileVersion(CMISStore.java:128)
      at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.copyFileVersion(StoreProxyImpl.java:77)
      at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.copyFileVersion(SafeFileNameStoreWrapper.java:97)
      at com.liferay.portlet.documentlibrary.store.DLStoreImpl.copyFileVersion(DLStoreImpl.java:192)
      at com.liferay.portlet.documentlibrary.store.DLStoreUtil.copyFileVersion(DLStoreUtil.java:237)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.checkOutFileEntry(DLFileEntryLocalServiceImpl.java:453)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.checkOutFileEntry(DLFileEntryLocalServiceImpl.java:354)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileEntry(DLFileEntryLocalServiceImpl.java:1714)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileEntry(DLFileEntryLocalServiceImpl.java:1190)
      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              zsolt.balogh Zsolt Balogh
              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:
                9 years, 5 weeks, 6 days ago

                  Packages

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