You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Sascha Egerer (JIRA)" <ji...@apache.org> on 2014/10/13 14:48:35 UTC
[jira] [Closed] (CMIS-855) Different result of
OperationContext.getFilterString and OperationContext.getFilter
[ https://issues.apache.org/jira/browse/CMIS-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sascha Egerer closed CMIS-855.
------------------------------
> Different result of OperationContext.getFilterString and OperationContext.getFilter
> -----------------------------------------------------------------------------------
>
> Key: CMIS-855
> URL: https://issues.apache.org/jira/browse/CMIS-855
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.12.0
> Reporter: Sascha Egerer
>
> There are two methods in the OperationContext that return the content of the "filter" property. But they return a different result and it's not clear to me why.
> The getFilterString dynamically adds PropertyIds::OBJECT_ID, PropertyIds::BASE_TYPE_ID and PropertyIds::OBJECT_TYPE_ID to the result.
> If loadSecondaryTypeProperties is true the value PropertyIds::SECONDARY_OBJECT_TYPE_IDS is also added.
> I don't see any reason why this is only implemented in the "string" method and not also in the getFilter method which returns a Collection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)