Continuum

Foreign key konstraint violation

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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 :
    0

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.

Activity

Hide
Pavel Halas added a comment -

Build: continuum-20070727.010000.war

Show
Pavel Halas added a comment - Build: continuum-20070727.010000.war

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: