continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject RE: can't remove project
Date Sat, 13 May 2006 18:50:46 GMT
Ok, thanks. I saw that someone had the same stack in one of the jiras. I
decided to go and hook continuum up to an existing sql server, but that
failed also. Alas, I torched the db and started over going slowly this
time until all the projects are added. My problem is that I have 2 large
multi module builds (and 2 branches of each) that I add. If something
gets hosed, it takes forever to get it all setup again.  

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Saturday, May 13, 2006 12:54 PM
To: continuum-users@maven.apache.org
Subject: Re: can't remove project

Based on the error below, it looks like the deletes aren't cascading
properly.

You could probably log in to the database and blow away individual
projects if you dug around and figured out how tables and foreign keys
are linked up.

This seems to be a bug, I'd file it in JIRA. "Delete a project" was just
not tested enough before release, apparently.

Wayne

On 5/13/06, Brian E. Fox <brianf@reply.infinity.nu> wrote:
> Somehow I have a bunch of projects that got duplicated but I can't 
> remove them. Here's the error, is there anything I can do other than 
> blow away the db and start over?
>
> ognl.MethodFailedException: Method "removeProject" failed for object
> org.apache.maven.continuum.DefaultContinuum@1a4a1c9
> [javax.jdo.JDOUserException: One or more instances could not be 
> deleted
> NestedThrowables:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM 
> BUILDDEFINITION WHERE ID = ?
> NestedThrowables:
> SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of

> foreign key constraint 'PROJECT_BUILP8_FK2' for key (86).  The 
> statement has been rolled back.]


Mime
View raw message