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

foreign key constraint violation when deleting projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2
    • None
    • Database
    • None
    • MS Windows XP SP3, java 1.6.0_02

    Description

      Hi, I found a bug looks like CONTINUUM-1385
      I tried to delete an ant project from a group and get the following message (see below). Removing all the build results helped. 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_FK2' for key (10). The statement has been rolled back.
      

      Continuum 1.2 Build Number: 697023

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              cent Aleksey
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: