Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 47423 invoked from network); 17 Mar 2009 07:18:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 07:18:41 -0000 Received: (qmail 20710 invoked by uid 500); 17 Mar 2009 07:18:41 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 20699 invoked by uid 500); 17 Mar 2009 07:18:41 -0000 Mailing-List: contact issues-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 issues@continuum.apache.org Received: (qmail 20688 invoked by uid 99); 17 Mar 2009 07:18:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 00:18:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 07:18:34 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 77CB614A8162 for ; Tue, 17 Mar 2009 02:18:13 -0500 (CDT) Message-ID: <7514268.1237274293396.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 17 Mar 2009 02:18:13 -0500 (CDT) From: "Emmanuel Venisse (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-1972) Error attempting to delete project group In-Reply-To: <8150906.1226351173315.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169932#action_169932 ] Emmanuel Venisse commented on CONTINUUM-1972: --------------------------------------------- Fixed in 1.2.x branch in r.755137 > Error attempting to delete project group > ---------------------------------------- > > Key: CONTINUUM-1972 > URL: http://jira.codehaus.org/browse/CONTINUUM-1972 > Project: Continuum > Issue Type: Bug > Components: Database > Affects Versions: 1.2.2 > Reporter: Michael Johns > Fix For: 1.2.4, 1.3.2 > > > When trying to delete a project group: > javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTDEPENDENCY WHERE PROJECTDEPENDENCY_ID=? NestedThrowables: SQL Exception: DELETE on table 'PROJECTDEPENDENCY' caused a violation of foreign key constraint 'PROJECT_FK2' for key (5107). The statement has been rolled back. > A snippet of the stack trace: > javax.jdo.JDOUserException: One or more instances could not be deleted > at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1525) > at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1498) > at org.jpox.store.rdbms.scostore.FKListStore.clear(FKListStore.java:1137) > at org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMapping.java:334) > at org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:2651) > at org.jpox.store.StoreManager.deleteDependent(StoreManager.java:1019) > at org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4405) > at org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPersistenceManager.java:1473) > at org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistenceManager.java:1489) > at org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:121) > at org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoContinuumStore.java:1906) > at org.apache.maven.continuum.store.JdoContinuumStore.removeBuildResult(JdoContinuumStore.java:600) > at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:719) > at org.apache.maven.continuum.DefaultContinuum.removeProjectGroup(DefaultContinuum.java:278) > at org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:263) > [...] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira