chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Wolthuis (JIRA)" <>
Subject [jira] [Commented] (CMIS-1036) As a Developer I want to be able to use a CMIS selector (or not) when retrieving Objects
Date Thu, 29 Jun 2017 07:50:00 GMT


Edward Wolthuis commented on CMIS-1036:

Hi Florian, thanks for your quick reaction!

You're of course right that using cmisselector is a specific feature for the Browser binding.
I should have mentioned that specifically.

My specific use case is that I want to retrieve the properties of a folder, with all its children
included, as returned by doing a HTTP Get on:
(which I expect to be the same as doing a HTTP Get on  http: //

However, I'm unable to get the same set of properties when using the getObjectByPath method
on the session instance.
The reason for this is that the cmisselector parameter is always set to 'object' in the ObjectServiceImpl
class (Browser binding) for the getObject methods, resulting in the following url:
http: //
If the cmisselector would never be set, I would receive the result that I expect.

My current workaround is that I construct my own URL for this specific case (not using Chemistry
at all), and parse the response myself.
However, I would like to have all my CMIS client code to go via Chemistry.
Is there some solution that I'm missing?

> As a Developer I want to be able to use a CMIS selector (or not) when retrieving Objects
> ----------------------------------------------------------------------------------------
>                 Key: CMIS-1036
>                 URL:
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 1.1.0
>            Reporter: Edward Wolthuis
> When retrieving a Folder via plain HTTP, without using a cmisselector parameter (i.e.
GET, the Specs define that a value of 'children'
will be used to return the result.
> (see section 5.4 at
> When using the browser bindings, object retrieval by using the path (i.e. /123/MyFolder)
always seems to use a cmisselector parameter with the value of 'object', making it impossible
to reproduce the result above. (actually, all Object finders)
> (see org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl)
> Why not let the user decide to use a cmisselector (for example in the Operation Context),
or not?

This message was sent by Atlassian JIRA

View raw message