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

Jens Hübel commented on CMIS-470:
---------------------------------

I agree Florian. I have fixed the issue inside of the InMemory implementation 
which was my preferred way as well. The patch by the way does not work as there 
is a typo using != where == was meant (just in case someone tries to use it as 
a hotfix). The server bindings should not touch the parameters unless 
absolutely required.
                
> inmemory setContentStream implementation doesn't have default value for  the 
> overwriteFlag
> ------------------------------------------------------------------------------------------
>
>                 Key: CMIS-470
>                 URL: https://issues.apache.org/jira/browse/CMIS-470
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server-inmemory
>    Affects Versions: OpenCMIS 0.5.0
>            Reporter: Cédric Bosdonnat
>            Assignee: Jens Hübel
>            Priority: Minor
>              Labels: patch
>             Fix For: OpenCMIS 0.6.0
>
>         Attachments: overwriteFlag-default.patch
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> running a request like
> curl --anyauth -u dummyuser:dummysecret -T NEWS 
> 'http://localhost:8080/inmemory/atom/A1/content?id=133' should update the 
> content stream as the overwriteFlag defaults to true [see 
> http://docs.oasis-open.org/cmis/CMIS/v1.0/os/cmis-spec-v1.0.html#_Toc243905602].
> In the current state, inmemory server even raises an uncaught 
> NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to