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] Commented: (CMIS-646) cmis:objectTypeIdshould not be required for documents



    [ http://tools.oasis-open.org/issues/browse/CMIS-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835#action_17835 ] 

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

Florian your comment might be a bit misleading. The relevant section in the spec is 2.1.3.3.1 in my opinion and here line 837ff:
"This attribute is only applicable to non-sytem properties, i.e. properties whose value is provided 
by the application. 
If TRUE, then the value of this property MUST never be set to the "not set" state when an object 
of this type is created/updated.  If not provided during a create or update operation, the repository 
MUST provide a value for this property."

So yes it is meant for the client to provide this value. However I read the spec that it means you can't "unset" a required property. So if I have "CustomerNo" in my type definition set to be required. I must provide a value during create if it does not have default value. However I do not see that I am forced to provide a value during an updateProperties/checkin call. Omitting this just leaves it unchanged. I am not allowed to delete the value. If I pass the property without a value it is reset to its default. Omitting it leaves it unchanged.

In any case the original issue remains that required should be the same for all base types.

> cmis:objectTypeId should not be required for documents
> ------------------------------------------------------
>
>                 Key: CMIS-646
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-646
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: Domain Model
>    Affects Versions: Draft 0.70
>            Reporter: Florian Mueller
>            Assignee: Ethan Gur-esh
>            Priority: Minor
>
> Section 2.1.4.3.3 "Property Definitions" states that the property cmis:objectTypeId is required for documents. That looks like an oversight. cmis:objectTypeId should not be required and is not required for all other base types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




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