Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55BF7200B38 for ; Thu, 23 Jun 2016 11:20:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 54796160A58; Thu, 23 Jun 2016 09:20:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9CBFE160A59 for ; Thu, 23 Jun 2016 11:20:17 +0200 (CEST) Received: (qmail 73462 invoked by uid 500); 23 Jun 2016 09:20:16 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 73420 invoked by uid 99); 23 Jun 2016 09:20:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 09:20:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 568A62C14F8 for ; Thu, 23 Jun 2016 09:20:16 +0000 (UTC) Date: Thu, 23 Jun 2016 09:20:16 +0000 (UTC) From: "Nicolas Raoul (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-983) DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to GetContentChanges MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Jun 2016 09:20:18 -0000 [ https://issues.apache.org/jira/browse/CMIS-983?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D153461= 38#comment-15346138 ]=20 Nicolas Raoul commented on CMIS-983: ------------------------------------ AtomPub indeed: https://github.com/nicolas-raoul/dotcmis-issue983/blob/mast= er/dotcmis-issue983/Program.cs Is there any way to get all changes from an AtomPub-only server using DotCM= IS? Thank you! > DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to= GetContentChanges > -------------------------------------------------------------------------= ------------------ > > Key: CMIS-983 > URL: https://issues.apache.org/jira/browse/CMIS-983 > Project: Chemistry > Issue Type: Bug > Components: dotcmis > Affects Versions: DotCMIS 0.7 > Environment: Alfresco 5, Windows 7, Visual Studio 2010, .NET 4.0 > Reporter: Nicolas Raoul > Assignee: Florian M=C3=BCller > > This code loops forever: > IChangeEvents changes; > do > { > changes =3D session.GetContentChanges(token, false, 3); > token =3D changes.LatestChangeLogToken; > } > while (changes.HasMoreItems ?? false); > ... because LatestChangeLogToken returns the same token as the one provid= ed to GetContentChanges. > Instead, LatestChangeLogToken should return the token of the latest chang= e contained in the IChangeEvents object, if my understanding is correct. > Read-to-run minimal code showing the problem: https://github.com/nicolas-= raoul/dotcmis-issue983 -- This message was sent by Atlassian JIRA (v6.3.4#6332)