You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Yannick MOLINET (JIRA)" <ji...@apache.org> on 2014/02/24 23:01:20 UTC

[jira] [Commented] (CMIS-758) GetChildren does not return all children

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

Yannick MOLINET commented on CMIS-758:
--------------------------------------

I'm working on this issue and I can see that GetChildren always pass the MaxItemsPerPage from the Operation Context, so GetChildren could never return full items list.

> GetChildren does not return all children
> ----------------------------------------
>
>                 Key: CMIS-758
>                 URL: https://issues.apache.org/jira/browse/CMIS-758
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>            Reporter: Yannick MOLINET
>            Assignee: Florian Müller
>             Fix For: DotCMIS 0.6
>
>
> GetChildren does not return all children
> The source code below returns only the items from the first page, instead of the full content.
> So if remoteFolder contains more than 100 items, only the first 100 items are returned.
> Note: Default context is used, so PageNumItems is 100.
> foreach (ICmisObject cmisObject in remoteFolder.GetChildren())
> {
> }
> Thanks,
> Yannick



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)