chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Meneses (JIRA)" <>
Subject [jira] [Created] (CMIS-695) FileableCmisObject.removeFromFolder should accept "null" as argument
Date Fri, 02 Aug 2013 17:13:48 GMT
Alexis Meneses created CMIS-695:

             Summary: FileableCmisObject.removeFromFolder should accept "null" as argument
                 Key: CMIS-695
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.10.0
            Reporter: Alexis Meneses
            Priority: Minor

When trying to call {{removeFromFolder(null)}} on a {{org.apache.chemistry.opencmis.client.api.FileableCmisObject}},
the API returns 

java.lang.IllegalArgumentException: Folder Id must be set!
        at org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject.removeFromFolder(

But CMIS Spec v1.1 defines the input as being optional (cf. ยง2. - Multi-filing Services
/ removeObjectFromFolder / inputs). The nullity check in AbstractFilableCmisObject should
be removed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message