Return-Path: Delivered-To: apmail-incubator-chemistry-commits-archive@minotaur.apache.org Received: (qmail 82775 invoked from network); 29 Nov 2010 03:48:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Nov 2010 03:48:08 -0000 Received: (qmail 61065 invoked by uid 500); 29 Nov 2010 03:48:07 -0000 Delivered-To: apmail-incubator-chemistry-commits-archive@incubator.apache.org Received: (qmail 61020 invoked by uid 500); 29 Nov 2010 03:48:06 -0000 Mailing-List: contact chemistry-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-commits@incubator.apache.org Received: (qmail 61012 invoked by uid 99); 29 Nov 2010 03:48:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 03:48:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 03:48:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6022323888E4; Mon, 29 Nov 2010 03:46:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1040009 - /incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php Date: Mon, 29 Nov 2010 03:46:31 -0000 To: chemistry-commits@incubator.apache.org From: richardm@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101129034631.6022323888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: richardm Date: Mon Nov 29 03:46:31 2010 New Revision: 1040009 URL: http://svn.apache.org/viewvc?rev=1040009&view=rev Log: CMIS-280 -- Cannot create custom type with custom properties when using createDocument -- Patch provided by Patrice Collardez Modified: incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php Modified: incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php URL: http://svn.apache.org/viewvc/incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php?rev=1040009&r1=1040008&r2=1040009&view=diff ============================================================================== --- incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php (original) +++ incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php Mon Nov 29 03:46:31 2010 @@ -1058,7 +1058,7 @@ xmlns:cmisra="http://docs.oasis-open.org { $hash_values["cmis:objectTypeId"] = $objectType; } - $properties_xml = $this->processPropertyTemplates($objectType, $hash_values); + $properties_xml = $this->processPropertyTemplates($hash_values["cmis:objectTypeId"], $hash_values); if (is_array($options)) { $hash_values = $options;