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-858) Unable to get rendition content - both getContentStream() and getRenditionDocument() return null
Date Thu, 23 Oct 2014 14:22:34 GMT

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

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

I think this is a Nuxeo issue. The renditionFilter parameter only defines if rendition information
should be part of the returned object or objects. It does not control the Atom links. The
set of Atom links have always to be complete, regardless of what the client requested.
The same is true for ACLs, policies, and relationships. Even if, for example, the client doesn't
request the ACL of an object, the Atom link to the ACL have to be present. Or if the client
doesn't request relationship information, the Atom links to the connected relationship objects
have to be in the response.

> Unable to get rendition content - both getContentStream() and  getRenditionDocument()
return null
> -------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-858
>                 URL: https://issues.apache.org/jira/browse/CMIS-858
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.12.0
>         Environment: Windows 7 64 bit
> JRE 7
> CMIS repository: http://demo.nuxeo.com/nuxeo/atom/cmis
>            Reporter: Sergiy Litsenko
>            Assignee: Florian Müller
>
> Hi All,
> Open CMIS client 0.12.0 introduced an issue - unable to get rendition content  - both
getContentStream() and  getRenditionDocument() return null.
> Please note, that I'm getting valid list of renditions (e.g. I followed Rendition Filter
setting details from developer guide)
>  The issue is not reproducible in 0.11.0.
> How to reproduce:
> - use Chemistry Workbench 0.12.0 and point it to ATOM endpoint for Nuxeo demo server:
http://demo.nuxeo.com/nuxeo/atom/cmis
>  - user name: Administrator
> - password: Administrator
> 1) Navigate to Assets folder and select any image available. If not available - upload
it using Nuxeo DAM UI - http://demo.nuxeo.com , same user name and password, then click on
DAM tab.
> 2) Select Renditions tab in Chemistry Workbench;
> 3) Double click on any image rendition;
> 4) Error will be displayed - e.g. Content not available
> Chemistry Workbench 0.11.0 can successfully download rendition.
> P.S. I can provide java code for entire test case that uses Open CMIS java client API
- if needed beyond above
> Cheers,
>   Sergiy 



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

Mime
View raw message