You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by ri...@apache.org on 2010/11/29 04:46:31 UTC

svn commit: r1040009 - /incubator/chemistry/phpclient/trunk/cmis_repository_wrapper.php

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;