chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (Commented) (JIRA) <>
Subject [jira] [Commented] (CMIS-504) workbench sets document specific filters on properties while asking for children
Date Mon, 13 Feb 2012 14:58:59 GMT


Florian Müller commented on CMIS-504:

The getChildren section ( states for the filter parameter:

"String filter: See section ‎ Properties.  The service will only return the properties
in the matched object if they exist on the matched object type definition and in the filter."

Therefore, it seems to be valid to set this filter.

The current CMIS 1.1 draft (which admittedly isn't an approved specification, yet) clarifies
this topic even further. It states in section Properties:

"Unknown query names or query names that are not defined for the object-type SHOULD be ignored.
For example, if getChildren is called with a filter that contains the property cmis:contentStreamMimeType,
it SHOULD return all non-document objects without this property and SHOULD NOT return an error."

So, even if the CMIS 1.0 specification is consider unclear in this regard, for the sake of
forward compatibility a repository should ignore properties that are not defined in the object-type.

> workbench sets document specific filters on properties while asking for children
> --------------------------------------------------------------------------------
>                 Key: CMIS-504
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-workbench
>    Affects Versions: OpenCMIS 0.6.0
>            Reporter: Nikola Soljaga
> When asking for children, workbench sets filters that are document specific, like: "cmis:contentStreamLength",
"cmis:contentStreamMimeType", "cmis:contentStreamFileName".
> Specification says next for filters:
> >>>>
> Properties
> ...
> Optional Input Parameter:
>     String filter: Value indicating which properties for Objects MUST be returned. Values
> ...
>     A comma-delimited list of property definition Query Names: The properties listed
MUST be returned.
> >>>>>
> For children that are folders there are no content specific properties (like "cmis:contentStreamLength"
for ex.). Workbench shouldn't set document specific properties while calling getChildren()
service because those can't be returned for children of folder type.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message