[
https://issues.apache.org/jira/browse/CMIS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134705#comment-13134705
]
James Li commented on CMIS-453:
-------------------------------
Ok, thanks.
> TCK WebService binding: filter in session context affects properties returned
> in createDocument()
> -------------------------------------------------------------------------------------------------
>
> Key: CMIS-453
> URL: https://issues.apache.org/jira/browse/CMIS-453
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.5.0
> Reporter: James Li
> Priority: Minor
>
> Write code like below:
> Set<String> filterNames = new HashSet<String>();
> filterNames.add("cmis:name");
> session.getDefaultContext().setFilter(filterNames);
> then call folder.createDocument(), returns a document with four
> properties(three are added by api I think).
> Per spec, there is no filter specified in createDocument(), I would think it
> should return all properties. Seems api calls getObject() during
> createDocument(), while there is a filter in getObject().
> Is this a bug?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira