chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Kim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-1017) CheckIn functionality (with major flag = true) does not set new version's major flag to true
Date Fri, 10 Mar 2017 18:26:04 GMT
Justin Kim created CMIS-1017:
--------------------------------

             Summary: CheckIn functionality (with major flag = true) does not set new version's
major flag to true
                 Key: CMIS-1017
                 URL: https://issues.apache.org/jira/browse/CMIS-1017
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client, opencmis-workbench
    Affects Versions: OpenCMIS 0.14.0
         Environment: Java 6, Window 7 64 bit, Alfresco Enterprise 4.2.3 with CMIS version
1.1
            Reporter: Justin Kim


After checking out document, I tried checking in documents with following codes:
ObjectId oi = doc.checkOut();
Document pwc = (Document) session.getObject(oi);
ObjectId oi2 = pwc.checkIn(true, null, doc.getContentStream(), "ver 2");

My expectation is as follow:
Is Latest - true
Is Major - true
Is Latest Major - true

Actual is as follow:
Is Latest - true
Is Major - false
Is Latest Major - false



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message