OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (CMIS-774) AtomPub version of setContentStream service should return objectId


    [ https://issues.oasis-open.org/browse/CMIS-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40140#comment-40140 ] 

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

Here is an ugly solution that neither violates the HTTP nor the AtomPub spec.
setContentStream returns a Location header. If we define that this location URL must be the same URL that clients build with the template in the repository info to call getObject(), then the client would be able to identify the new object ID in the returned URL and extract it. Instead of using the URI template to compile a URL, the client would use the template to decompose a provided URL.

> AtomPub version of setContentStream service should return objectId
> ------------------------------------------------------------------
>
>                 Key: CMIS-774
>                 URL: https://issues.oasis-open.org/browse/CMIS-774
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: REST/AtomPub Binding
>    Affects Versions: V1.1 Errata
>            Reporter: Peter Monks
>
> Section 3.1.9 of the CMIS 1.1 specification states that the AtomPub version of the setContentStream service doesn't return the cmis:objectId of the new version of the document (note: this is an exception to the domain model, section 2.2.4.18.2).  This means that there is no efficient* way for a client application that uses this call to retrieve the new cmis:objectId value in a spec-compliant manner.
> * where "efficient" means "without further round trips to the CMIS server"



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]