chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CMIS-695) FileableCmisObject.removeFromFolder should accept "null" as argument
Date Fri, 02 Aug 2013 17:21:50 GMT

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

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

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.10.0

Thanks for the report.
                
> FileableCmisObject.removeFromFolder should accept "null" as argument
> --------------------------------------------------------------------
>
>                 Key: CMIS-695
>                 URL: https://issues.apache.org/jira/browse/CMIS-695
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.10.0
>            Reporter: Alexis Meneses
>            Assignee: Florian Müller
>            Priority: Minor
>             Fix For: OpenCMIS 0.10.0
>
>
> When trying to call {{removeFromFolder(null)}} on a {{org.apache.chemistry.opencmis.client.api.FileableCmisObject}},
the API returns 
> {code}
> java.lang.IllegalArgumentException: Folder Id must be set!
>         at org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject.removeFromFolder(AbstractFilableCmisObject.java:178)
> {code}
> But CMIS Spec v1.1 defines the input as being optional (cf. §2.2.5.2.1 - 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: http://www.atlassian.com/software/jira

Mime
View raw message