You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Sergiy Litsenko (JIRA)" <ji...@apache.org> on 2014/10/23 12:07:34 UTC

[jira] [Comment Edited] (CMIS-858) Unable to get rendition content - both getContentStream() and getRenditionDocument() return null

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

Sergiy Litsenko edited comment on CMIS-858 at 10/23/14 10:07 AM:
-----------------------------------------------------------------

HI Florent,
Thanks for quick reply but it is not server side problem - same server used to repeat the use case above by using Workbench UI from 012.0 and 0.11.0. And not just Workbench - I have java test case to reproduce - if needed I can supply it. 
*I've already checked HTTP ATOM output from server* and I was working extensively with one of the Nuxeo  architects before raising issue ;) - the HTTP response from Nuxeo server contains rendition details including href to fetch content. It is definitely opencmis.client.api issue introduced in 0.12.0 that not reproducible in 0.11.0 - please see details above - how to reproduce. 



was (Author: sergiyl):
HI Florent,
Thanks for quick reply but it is not server side problem - same server used to repeat the use case above by using Workbench UI from 012.0 and 0.11.0. And not just Workbench - I have java test case to reproduce - if needed I can supply it. 
*I've already checked HTTP ATOM output from server* before raising issue - it contains rendition details including href to fetch content. It is definitely opencmis.client.api issue introduced in 0.12.0 that not reproducible in 0.11.0 - please see details above - how to reproduce. 


> 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
>
> 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)