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

Better handling of error when deleting a Build Environment that is in use

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.3.3 (Beta)
    • Web - UI
    • None
    • Patch

    Description

      If you attempt to delete a Build Definition (Profile) that is in use (attached to a Build Definition), an error occurs:

      Error Occurred
      javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROFILES WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROFILES' caused a violation of foreign key constraint 'BUILDDEFINITKW_FK2' for key (16). The statement has been rolled back.

      Continuum is correct to prevent the deletion, but it should display a useful error message rather than a stack trace.

      Attachments

        1. CONTINUUM-1767.patch
          12 kB
          Jose Morales Martinez
        2. Continuum-1767-continuum-webapp.patch
          4 kB
          Jevica Arianne B. Zurbano

        Issue Links

          Activity

            People

              ctan Maria Catherine R. Tan
              wsmoak Wendy Smoak
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: