Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 56187 invoked from network); 6 Feb 2009 20:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 20:23:57 -0000 Received: (qmail 8175 invoked by uid 500); 6 Feb 2009 20:23:56 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 8150 invoked by uid 500); 6 Feb 2009 20:23:56 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 8139 invoked by uid 99); 6 Feb 2009 20:23:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 12:23:56 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of emmanuel.venisse@gmail.com designates 209.85.220.16 as permitted sender) Received: from [209.85.220.16] (HELO mail-fx0-f16.google.com) (209.85.220.16) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 20:23:49 +0000 Received: by fxm9 with SMTP id 9so1329769fxm.2 for ; Fri, 06 Feb 2009 12:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nyjHc/NVLZ2BxCMyRTNiqXurVY/ygYJCXFYQq0J2H7I=; b=HiZcuOstdDWjqb9alaDJBCvihyGf6vcubMf9wnPQOGJrRz4Nf9rU/X1Kr3TwCMx3lW 0UzoUiHxp2fCB+w4KjLdORk9UcBHzluPBb5Rk392+E8XkEvAhezDcqmmYDkLBDV9hgyI 29OVI/g6ssqO7xF5mLKpeLF5vVVo9faDxwug0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lJjSFoENV0U7cR8dSvf+ERHO5oEebz6lDwsgBH6NQLJn3oJdRH5A9xcXw5TnsvimbG m0hpeRpJz/z7FBDcwk326Q3SmRHgVonlqkIOAasQ8BqsmfaAezcimR5Uw7Cg1tnzA0RP fTF6nJ6trzMvxlkUsmv8CyOdyD+kRgLZsnO3A= MIME-Version: 1.0 Received: by 10.223.107.199 with SMTP id c7mr1364808fap.31.1233951646248; Fri, 06 Feb 2009 12:20:46 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Feb 2009 21:20:46 +0100 Message-ID: Subject: Re: Problems deleting things from Continuum From: Emmanuel Venisse To: dev@continuum.apache.org Content-Type: multipart/alternative; boundary=001636c5b84d8b711c046245c1b4 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b84d8b711c046245c1b4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Is it with a fresh 1.3.x fresh db or an updated db? Emmanuel On Fri, Feb 6, 2009 at 6:21 PM, Wendy Smoak wrote: > I'm having more and more trouble with foreign key constraint > violations when trying to delete things from Continuum. > > For example, when trying to delete a project group: > > javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM > SCMRESULT WHERE SCMRESULT_ID=? NestedThrowables: SQL Exception: DELETE > on table 'SCMRESULT' caused a violation of foreign key constraint > 'PROJECT_FK2' for key (5). The statement has been rolled back. > > I went into the group and tried to delete the build results from the > project, then tried to delete the project from the group -- same > error. > > A quick look in JIRA [1] turned up: > CONTINUUM-1787 cannot delete a project, constraint violation > CONTINUUM-1972 Error attempting to delete project group > CONTINUUM-1905 I can't delete a project - Exception > CONTINUUM-1813 deleting projects not working if build-results > exist (old -- opened against 1.1) > CONTINUUM-1626 Unable to delete build definition with already > executed builds > CONTINUUM-1921 foreign key constraint violation > > I'm getting failures on this Selenium IDE test when it tries to clean > up after itself: > > http://svn.apache.org/repos/asf/continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_build_project.html > > Does anyone have an idea what's going on? > > [1] > http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&&query=delet*&summary=true&description=true&pid=10540&resolution=-1 > > -- > Wendy > --001636c5b84d8b711c046245c1b4--