chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yannick MOLINET (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-758) GetChildren do not return all children
Date Tue, 18 Feb 2014 10:46:19 GMT

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

Yannick MOLINET updated CMIS-758:
---------------------------------

    Description: 
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

  was:
This code return only Item on the first page instead of the full content, so If remoteFolder
content more than 100 items, only 100st items are returns.
Note : Default context is used, PageNumItems return 100.

foreach (ICmisObject cmisObject in remoteFolder.GetChildren())
{
}

Thanks,
Yannick


> GetChildren do 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)

Mime
View raw message