chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-854) includePathSegments should be part of cacheKey in OperationContext
Date Mon, 13 Oct 2014 12:00:36 GMT

    [ https://issues.apache.org/jira/browse/CMIS-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169210#comment-14169210
] 

Florian Müller commented on CMIS-854:
-------------------------------------

The path segment is not stored in cached objects. Including the includePathSegments flag in
the cache key would be counterproductive. In the worst case, the exact same object would be
stored twice in the cache - with different keys.

> includePathSegments should be part of cacheKey in OperationContext
> ------------------------------------------------------------------
>
>                 Key: CMIS-854
>                 URL: https://issues.apache.org/jira/browse/CMIS-854
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.12.0
>            Reporter: Sascha Egerer
>
> There is a function generateCacheKey in OperationContextImpl.
> It generates a unique key based on the actual property values. The Property includePathSegments
is not respected in this key but should be.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message