[ https://issues.apache.org/jira/browse/CMIS-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084776#comment-14084776 ]
Florian Müller commented on CMIS-830: ------------------------------------- If a server sends a next link, the hasMoreItems flag ist set to true. If the server sends a next link but doesn't provide a next page, then this is a server issue. The client has to believe that there is a next page and may try to load it. Apart from that, if you are looking for a paged content changes result set, try this method: {{ItemIterable<ChangeEvent> getContentChanges(String changeLogToken, boolean includeProperties, OperationContext context);}} > Change events are empty, even though content changes have more items > (AtomPub). > ------------------------------------------------------------------------------- > > Key: CMIS-830 > URL: https://issues.apache.org/jira/browse/CMIS-830 > Project: Chemistry > Issue Type: Bug > Affects Versions: OpenCMIS 0.11.0 > Environment: Linux, JDK 1.7 > Reporter: Achim Derigs > Fix For: OpenCMIS 1.0.0 > > Attachments: HasMoreContentChangesTest.java > > > Requesting the content changes via AtomPub results in an endless loop if you > try to control your loop via getHasMoreItems(). This method always returns > true. In this case the change events are not really empty. They contain one > element. It is the change event corresponding to the value of the specified > change log token. If you do the same via browser you will succeed. > I will attach a small integration test. -- This message was sent by Atlassian JIRA (v6.2#6252)