[ 
https://issues.apache.org/jira/browse/CMIS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Müller resolved CMIS-457.
---------------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.6.0
         Assignee: Florian Müller

Fixed.

But you should consider overriding either getObjectInfo() or 
getObjectInfoIntern() with you own, repository specific code for performance 
reasons.
                
> getObjectInfoIntern call anytime getObjectParents
> -------------------------------------------------
>
>                 Key: CMIS-457
>                 URL: https://issues.apache.org/jira/browse/CMIS-457
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.5.0
>            Reporter: Florent Amaridon
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.6.0
>
>
> hello if I follow CMIS 1.0 spécification on the getObjectParents.
>  "Gets the parent folder(s) for the specified non-folder, fileable object. "
> if I have a not fileable object I must throw constraint exception.
> But in getObjectInfo we call anytime the getObjectInfoIntern methode  whose 
> is calling anytime getObjectParents. 
> I think the check of object type is needed for check if the object is 
> fileable or not, and if it's a folder. if it's the root folder 
> getFolderParent MUST throw invalidArgument exception.

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