[ https://issues.apache.org/jira/browse/CMIS-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769405#comment-13769405 ]
linzhixing commented on CMIS-722: --------------------------------- Now it's the problem of the spec how to interpret "ChangeLogToken is incorporated into the URI"... Anyway since one can't extract a token from the URI, I think it's better that the next page link be exposed as CmisExtension of ChangeEvents object. It doesn't assure a client can extract a token from all sorts of repository, but as for a specified repository it could extract it. >From the point of view of implementation of the spec and my purpose that >requirse the full crawling for Solr indexing to my CMIS server, it might be >enough. > getContentChanges doesn't renew Holder<String>changeLogToken in AtomPub Client > ------------------------------------------------------------------------------ > > Key: CMIS-722 > URL: https://issues.apache.org/jira/browse/CMIS-722 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.10.0 > Reporter: linzhixing > > org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl#getContentChanges, > which is called from SessionImpl(Line:326), seems not to return a new > Holder<String>changeLogToken argument. When I execute getContentChange from > OpenCMIS client, changeLogToken remains the same as its input value. > I confirmed that my CMIS server updates Holder<String>changeLogToken to the > latest token in the returned list both in debugging and Atom feed <atom:link > rel="next">. > To see > org.apache.chemistry.opencmis.client.bindings.spi.webservices.DiscoveryServiceImpl#getContentChanges(Line:66), > one can find > setHolderValue(portChangeLokToken, changeLogToken); > but I can't find any such code in atompub DiscoveryServiceImpl. > So I suppose some codes should be added that sets a renewed changeLogToken > reading from an atom feed page link. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira