<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Database concurrency condition detected on testset update via SOAP api (Thread)</title><description>  We use SpiraTeam 3.1 at the moment and are experimenting with the SOAP API.  All goes fine, but 1 thing came up: when performing a TestSet_Update to update the status (from eg not started to "in progress") all is ok. when doing the same action again to set the status to yet another value we get: Server raised fault: 'Database concurrency condition detected'  and very consistent. First time no problem, second time always the same error.  Is this a known issue or is there a workaround?  thx, Filip     </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/239.aspx</link><item><guid isPermaLink="false">threadId=239</guid><author>Filip Baert (filip.baert@newtec.eu)</author><title>Database concurrency condition detected on testset update via SOAP api</title><description>  We use SpiraTeam 3.1 at the moment and are experimenting with the SOAP API.  All goes fine, but 1 thing came up: when performing a TestSet_Update to update the status (from eg not started to "in progress") all is ok. when doing the same action again to set the status to yet another value we get: Server raised fault: 'Database concurrency condition detected'  and very consistent. First time no problem, second time always the same error.  Is this a known issue or is there a workaround?  thx, Filip     </description><pubDate>Fri, 10 Feb 2012 15:16:13 -0500</pubDate><a10:updated>2012-02-27T20:37:40-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/239.aspx</link></item><item><guid isPermaLink="false">messageId=471</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>This is by design, you need to do a TestSet_RetrieveById first to get the refreshed data then call t</title><description>This is by design, you need to do a TestSet_RetrieveById first to get the refreshed data then call the TestSet_Update method. This ensures that you don't have outdated data.</description><pubDate>Fri, 10 Feb 2012 15:59:09 -0500</pubDate><a10:updated>2012-02-10T15:59:09-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/239.aspx#reply471</link></item><item><guid isPermaLink="false">messageId=472</guid><author>Filip Baert (filip.baert@newtec.eu)</author><title>  ok, sounds reasonable, but unfortunately the RetrieveById does not solve the error.  this is the c</title><description>  ok, sounds reasonable, but unfortunately the RetrieveById does not solve the error.  this is the complete message from spirateam:       s:Client  Database concurrency condition detected    Database concurrency condition detected     at Inflectra.SpiraTest.Business.TestSet.Update(TestSetData testSetDataSet, Int32 userId, Nullable`1 intRollbackId)      at Inflectra.SpiraTest.Web.Services.v3_0.ImportExport.TestSet_Update(RemoteTestSet remoteTestSet)  DataAccessConcurrencyException          this is our python code:   testSetToExecute = getTestSetToExecute(automationHostName)  =&gt;&gt; function gives 1 testset that meets specific filters.   if(testSetToExecute is not None):     testCasesToExecute = client.service.TestCase_RetrieveByTestSetId(testSetToExecute.TestSetId)     testSetToExecute =client.service.TestSet_RetrieveById(testSetToExecute.TestSetId)     testSetToExecute.TestSetStatusId = 2 #in progress     testSetToExecute.TestSetStatusName = "In Progress"     testSetToExecute.ExecutionDate = datetime.now()     client.service.TestSet_Update(testSetToExecute)  the last line fails with given error.  thx for the help Filip      </description><pubDate>Mon, 13 Feb 2012 12:36:10 -0500</pubDate><a10:updated>2012-02-13T12:36:10-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/239.aspx#reply472</link></item><item><guid isPermaLink="false">messageId=477</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>Could it be that the LastUpdateDate is not being sent back correctly? That is what's used to verify </title><description>Could it be that the LastUpdateDate is not being sent back correctly? That is what's used to verify that the data is current? Also do you have the latest patch for v3.1 applied?</description><pubDate>Mon, 27 Feb 2012 20:37:40 -0500</pubDate><a10:updated>2012-02-27T20:37:40-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/239.aspx#reply477</link></item></channel></rss>