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-493) itemAlreadyExistsException missing



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

Martin Hermes commented on CMIS-493:
------------------------------------

An application should be able to react on this error.

Use case 1: Application specific error message in UI
Creating a file which already exists is a typical error situation where an application wants to display a corresponding error message in the UI, not just the message text which comes from the exception. The message text included in the exception is too repository specific and usually a technical, not end user friendly text.

Use case 2: Application created files / folders
A business application creates for each newly created business object in the ERP system a corresponding folder in the document management system. E.g. caused by a previous error, it can happen that a folder to be created exists already. Having a meaningful exception allows the application to react like either reusing the existing folder or deleting the existing folder. This is not possible with a constraint violation.

> itemAlreadyExists Exception missing
> -----------------------------------
>
>                 Key: CMIS-493
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-493
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Improvement
>          Components: Domain Model
>    Affects Versions: Draft 0.62
>            Reporter: Martin Hermes
>            Assignee: Ethan Gur-esh
>            Priority: Minor
>
> A repository which does not support same name siblings should throw an itemAlreadyExists exception if a file or folder is created using a name which already exists as sibling.

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