Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E709011652 for ; Thu, 20 Nov 2014 20:29:33 +0000 (UTC) Received: (qmail 93844 invoked by uid 500); 20 Nov 2014 20:29:33 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 93780 invoked by uid 500); 20 Nov 2014 20:29:33 -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 93767 invoked by uid 99); 20 Nov 2014 20:29:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 20:29:33 +0000 Date: Thu, 20 Nov 2014 20:29:33 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-872) ChangeEvents.getLatestChangeLogToken returns null in Atompub binding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-872?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D142199= 42#comment-14219942 ]=20 Florian M=C3=BCller commented on CMIS-872: ------------------------------------- That is a limitation of the AtomPub binding. It's not possible to get the c= hange log token from the change log feed. See spec section 3.10.2. OpenCMIS has a proprietary way of transporting the chnage log token. It rec= oginizes a changeLogToken tag in the feed like this:=20 {{someToken}} OpenCMIS based servers send this automatically.=20 > ChangeEvents.getLatestChangeLogToken returns null in Atompub binding > -------------------------------------------------------------------- > > Key: CMIS-872 > URL: https://issues.apache.org/jira/browse/CMIS-872 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client > Affects Versions: OpenCMIS 0.12.0 > Environment: Windows 64 bits, JDK 1.7 update 60 > Reporter: Vincent Tang > Labels: getContentChanges > > Our test code is like > ChangeEvents changeEvents =3D session.getContentChanges(latestCha= ngeLogToken, false, 25; > =20 > String newlatestChangeLogToken =3D changeEvents.getLatestChangeLo= gToken(); > assertNotNull(newlatestChangeLogToken); > But ChangeEvents.getLatestChangeLogToken returns null. I looked at the re= sponse feed. I cannot figure out which part is missing. Can you tell from w= hich field OpenCMIS Client API reads the latestChangeLogToken in the feed? -- This message was sent by Atlassian JIRA (v6.3.4#6332)