[
https://issues.apache.org/jira/browse/CMIS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146810#comment-13146810
]
Jens Hübel commented on CMIS-470:
---------------------------------
Just noticed that the CmisServerWrapper contains the code already...
overwriteFlag = getDefaultTrue(overwriteFlag);
> 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