You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/08/02 19:17:48 UTC
[jira] [Assigned] (CMIS-695) FileableCmisObject.removeFromFolder
should accept "null" as argument
[ https://issues.apache.org/jira/browse/CMIS-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller reassigned CMIS-695:
-----------------------------------
Assignee: Florian Müller
> 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
>
> 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