chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Guillaume (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CMIS-95) NPE in SimpleConnection#getChildren
Date Wed, 13 Jan 2010 15:24:54 GMT

    [ https://issues.apache.org/jira/browse/CMIS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799786#action_12799786
] 

Florent Guillaume commented on CMIS-95:
---------------------------------------

I think I'll throw an ObjectNotFoundException if the object does not exist, or a ConstraintViolationException
if the object is not a cmis:folder. This is what the API philosophy expects.
Does that work for you?


> NPE in SimpleConnection#getChildren
> -----------------------------------
>
>                 Key: CMIS-95
>                 URL: https://issues.apache.org/jira/browse/CMIS-95
>             Project: Chemistry
>          Issue Type: Bug
>          Components: commons
>            Reporter: Michael Dürig
>         Attachments: CMIS-95.patch
>
>
> return values of repository.children.get(folder.getId()) in SimpleConnection#getChildren
should be checked for null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message