manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piergior...@apache.org
Subject svn commit: r1844857 - in /manifoldcf/trunk: CHANGES.txt connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java
Date Thu, 25 Oct 2018 18:48:39 GMT
Author: piergiorgio
Date: Thu Oct 25 18:48:39 2018
New Revision: 1844857

URL: http://svn.apache.org/viewvc?rev=1844857&view=rev
Log:
fixed the versioning state in the CMIS Connector (CONNECTORS-1548)

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1844857&r1=1844856&r2=1844857&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Thu Oct 25 18:48:39 2018
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.12-dev =====================
 
+CONNECTORS-1548: CMIS output connector test fails with versioning state error
+(Piergiorgio Lucidi)
+
 CONNECTORS-1551: Various changes and improvements for the
 Confluence connector.
 (Shirai Takashi)

Modified: manifoldcf/trunk/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java?rev=1844857&r1=1844856&r2=1844857&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java
(original)
+++ manifoldcf/trunk/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/agents/output/cmisoutput/CmisOutputConnector.java
Thu Oct 25 18:48:39 2018
@@ -960,7 +960,7 @@ public class CmisOutputConnector extends
 
         // create a major version
         leafParent = getOrCreateLeafParent(parentDropZoneFolder, creationDate, Boolean.valueOf(createTimestampTree),
primaryPath);
-        leafParent.createDocument(properties, contentStream, VersioningState.MAJOR);
+        leafParent.createDocument(properties, contentStream, VersioningState.NONE);
         resultDescription = DOCUMENT_STATUS_ACCEPTED_DESC;
         return DOCUMENT_STATUS_ACCEPTED;
 



Mime
View raw message