Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-2
-
Fix Version/s: 1.1-beta-2
-
Component/s: Database
-
Labels:None
-
Environment:Linux, Tomcat 5.5.17, Derby
-
Complexity:Intermediate
-
Number of attachments :
Description
Hi,
I tried to delete an ant project from a group and get the following message (see below). Removing all the build results helped. Nevertheless, I think there should be a delete cascade, not a contstraint.
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 'BUILDRESULT_FK1' for key (6). The statement has been rolled back.
Build: continuum-20070727.010000.war