[
https://issues.apache.org/jira/browse/CMIS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905623#comment-15905623
]
Justin Kim commented on CMIS-1017:
----------------------------------
Thanks Florian for the comment. I did notice that it was Read-Only, and
therefore nothing I could do on my end using OpenCMIS to control those
properties. All I did was make a call using OpenCMIS (Document.checkIn - with
first argument being "true") and hope that it sets the value correctly.
And also, my observation is not from PWC object, but newly created version, FYI.
Sorry couldn't attach screen shot, but something like this:
"Name","Label","Latest","Major","Latest Major"
"fileName.docx","6.0",true,false,false
..
"fileName.docx","2.0",false,false,false
"fileName.docx","1.0",false,true,false
> 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 document 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 (for new versioned document) 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)