continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen" <da...@davidkarlsen.com>
Subject Re: can't remove project
Date Thu, 19 Oct 2006 16:40:07 GMT
Adrian Herscu wrote:
> Hi all,
>
> Tried not to touch the keyboard/mouse at all during the "add" operation
> of some multi-module project, and the same thing happened again but with
>  different project (now I have two projects duplicated instead of one --
> the conclusion might be that it is better to do a refresh while adding
> projects ;-)
>   
[stack-trace snipped]

Same problem here.
Is it possible to fix this by nuking the working-directory dir - or are 
you saying that doing so won't fix it?
It'd rather scrap the whole setup - as other projects are using the same 
continuum instance as well.

> Punkin Head wrote:
>   
>> We had a problem similar to this as well and were able to delete them
>> by shutting down Continuum and going into the build directory folder
>> and deleting the projects from there, then they would remove from the
>> GUI.  FYI, Our problem occurred because I refreshed the page before
>> the projects were all completely added, at least that's how I was able
>> to re-create it.
>>
>> On 5/13/06, Wayne Fay <waynefay@gmail.com> wrote:
>>     
>>> 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.]
>>>>         
>>     


-- 
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com



Mime
View raw message