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 4299310E75 for ; Thu, 20 Jun 2013 11:08:22 +0000 (UTC) Received: (qmail 16459 invoked by uid 500); 20 Jun 2013 11:08:21 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 16047 invoked by uid 500); 20 Jun 2013 11:08:21 -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 15869 invoked by uid 99); 20 Jun 2013 11:08:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 11:08:20 +0000 Date: Thu, 20 Jun 2013 11:08:20 +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] [Resolved] (CMIS-674) OpenCMIS updateProperties does not send changeToken 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-674?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-674. --------------------------------- Resolution: Fixed Fix Version/s: OpenCMIS 0.10.0 Fixed and TCK test added. Thanks for the report. =20 > OpenCMIS updateProperties does not send changeToken > --------------------------------------------------- > > Key: CMIS-674 > URL: https://issues.apache.org/jira/browse/CMIS-674 > Project: Chemistry > Issue Type: Bug > Affects Versions: OpenCMIS 0.9.0 beta 1 > Reporter: linzhixing > Assignee: Florian M=C3=BCller > Fix For: OpenCMIS 0.10.0 > > > I'm testing Update Smoke Test in TCK and find: > -On the cliend side, AbstractCmisObject#updateProperties send changeToken= with value(like "383" etc.) > -But on the server side via AtomPub binding, ObjectService#updateProperti= es tries to get the changeToken on line:468, which results in null value. > -My CMIS server implements updateConflict error, so I got an error. > This is I think because the client's updateProperties send only changed p= roperties in the "properties" argument and the server tries to extract the = token from within the properties. > Is this a bug? Which is the best way to pass changeToken? > I have already tested from other CMIS client library to send changeToken = included in the "changed" properties, which itself is not actually a change= d property and succeeded in updating. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira