chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Amaridon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-457) getObjectInfoIntern call anytime getObjectParents
Date Wed, 26 Oct 2011 19:25:32 GMT
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


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

       

Mime
View raw message