[
https://issues.apache.org/jira/browse/CMIS-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084835#comment-14084835
]
Florian Müller commented on CMIS-830:
-------------------------------------
Check your server implementation. If it based on OpenCMIS, check if and when
the hasMoreItems flag is set in the {{ObjectList}} returned by
{{getContentChanges()}}.
On the client side, this flag only indicates if there is a next link or not.
The OpenCMIS client doesn't use or calculate this flag. Your implementation
seems always to provide a next link, even if there are no more change events.
> 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)