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 D4CF57E6E for ; Tue, 6 Dec 2011 00:03:02 +0000 (UTC) Received: (qmail 54400 invoked by uid 500); 6 Dec 2011 00:03:02 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 54344 invoked by uid 500); 6 Dec 2011 00:03:02 -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 54336 invoked by uid 99); 6 Dec 2011 00:03:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 00:03:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 00:03:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 48109C9869 for ; Tue, 6 Dec 2011 00:02:41 +0000 (UTC) Date: Tue, 6 Dec 2011 00:02:41 +0000 (UTC) From: "Jeff Potts (Resolved) (JIRA)" To: dev@chemistry.apache.org Message-ID: <1661033242.43373.1323129761296.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <297441833.6009.1310478419999.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CMIS-399) Empty custom CMIS properties on custom document types result in faulty XML 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-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Potts resolved CMIS-399. ----------------------------- Resolution: Cannot Reproduce I cannot reproduce this problem as reported, but I highly suspect the reporter is seeing CMIS-481, which is when you try to set a prop to None for any prop type other than String. > Empty custom CMIS properties on custom document types result in faulty XML > -------------------------------------------------------------------------- > > Key: CMIS-399 > URL: https://issues.apache.org/jira/browse/CMIS-399 > Project: Chemistry > Issue Type: Bug > Components: python-cmislib > Affects Versions: OpenCMIS 0.4.0 > Environment: This behaviour has been replicated on several systems including CentOS 5, Windows 7, Ubuntu 10.04 and Fedora 15. > python version 2.6 > cmislib version 0.4.1 > Reporter: Bjarki Gudlaugsson > Assignee: Jeff Potts > Labels: cmis, property, python, xml > > When calling createDocument on CmisFolder and submitting an empty property (e.g. custom:custom_property) for a custom document type (e.g. custom:custom_document_type) the resulting xml looks like this: > > D:custom:custom_document_type > > > > > It is invalid and it results in the CMIS server (Alfresco in my case) not setting any of the submitted custom properties. It should look like this (and this is how the Java version does it): > > D:custom:custom_document_type > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira