Bläddra i källkod

#805: fix the issue when creating tickets from the SOAP web service.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3031 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 år sedan
förälder
incheckning
e509f6d3d0
1 ändrade filer med 15 tillägg och 1 borttagningar
  1. 15 1
      datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml

+ 15 - 1
datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml

@@ -163,7 +163,21 @@
     }
         ]]></code>
         </method>
-      </methods>
+        <method id="DBInsertTracked_Internal">
+          <static>false</static>
+          <access>protected</access>
+          <type>Overload-DBObject</type>
+          <code><![CDATA[    protected function DBInsertTracked_Internal($bDoNotReload = false)
+    {
+      $oMutex = new iTopMutex('ticket_insert');
+      $oMutex->Lock();
+      $ret = parent::DBInsertTracked_Internal($bDoNotReload);
+      $oMutex->Unlock();
+      return $ret;
+    }
+        ]]></code>
+        </method>
+       </methods>
       <presentation>
         <details>
           <items>