Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1385

Foreign key konstraint violation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-beta-2
    • 1.1-beta-2
    • Database
    • None
    • Linux, Tomcat 5.5.17, Derby

    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.
      

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            phalas Pavel Halas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: