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 3F4E7DE0E for ; Mon, 4 Mar 2013 18:01:18 +0000 (UTC) Received: (qmail 97832 invoked by uid 500); 4 Mar 2013 18:01:17 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 97776 invoked by uid 500); 4 Mar 2013 18:01:17 -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 97738 invoked by uid 99); 4 Mar 2013 18:01:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 18:01:17 +0000 Date: Mon, 4 Mar 2013 18:01:17 +0000 (UTC) From: "Jon Elslip (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CMIS-631) Unable to clear values for properties with ID data type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jon Elslip resolved CMIS-631. ----------------------------- Resolution: Not A Problem The problem appears to be in the CMIS server, so resolving this issue. > Unable to clear values for properties with ID data type > ------------------------------------------------------- > > Key: CMIS-631 > URL: https://issues.apache.org/jira/browse/CMIS-631 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client > Affects Versions: OpenCMIS 0.8.0 > Reporter: Jon Elslip > Priority: Minor > Attachments: idClearRequest.saz > > > Trying to clear a property with data type ID is not persisted when passing null as the value. No error occurs, but the previous value is sent to the CMIS server. Setting properties with other data types clears their values. > Here are the values that are passed to org.apache.chemistry.opencmis.client.api.CmisObject.updateProperties: > {SVCPStr=null, MVCPIntIntegers_HCVL=[], SVCPDateTime=null, SVCPID=null, MVCPStrDoggies_CVL=[], MVCPBoo=[], MVCPIntGrades_CVL=[], SVCPStr_HCVL=null, cmis:name=idd_6D25229C-7320-41AA-A7D3-1AF64B524716, MVCPID=[], MVCPDateTime=[], MVCPStrBirds_HCVL=[], SVCPInt_HCVL=null, SVCPBoo=null, MVCPFlt=[], MVCPInt=[], SVCPInt_CVL=null, SVCPStr_CVL=null, MVCPStr=[], DocumentTitle=null, SVCPFlt=null, SVCPInt=null} > Note the value of SVCPID is null. > Here is what is being sent to the CMIS server via http. Note the value of SVCP below is not empty, but is the previous value: > > > > > > > 1 > > > idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > > > > 0 > > > true > > > 2013-02-27T16:12:58.627-08:00 > > > > > idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > > > idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > > > 2013-02-13T17:57:15.064-08:00 > > > > > {9D0641D2-3AC8-45B5-997E-779767256642} > > > CEAdmin > > > > > false > > > > > > > > 1 > > > false > > > > > > false > > > false > > > > 0 > > > > > > true > > > > CEAdmin > > > > > > 2013-02-13T17:57:15.064-08:00 > > > > 17 > > > > > > > > idv_107A1EB3-FC2A-4F8A-A1C7-605F106796F3 > > > 1.0 > > > true > > > true > > > > > false > > > cmis:document > > > QAALL > > > QA ALL > > http://cm-terranovavm01:9080/fncmis/resources/NexusDS/Content/idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > 2013-02-27T16:12:58.627-08:00 > 2013-02-27T16:12:58.627-08:00 > 2013-02-27T16:12:58.627-08:00 > idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > idd_6D25229C-7320-41AA-A7D3-1AF64B524716 > > > CEAdmin > > > > > > > > > > > > > Setting the ID property to a different GUID value works, the problem just appears when setting it to null (or empty string). -- 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