continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use
Date Sun, 11 May 2008 19:11:27 GMT
Better handling of error when deleting a Build Environment that is in use
-------------------------------------------------------------------------

                 Key: CONTINUUM-1767
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1767
             Project: Continuum
          Issue Type: Bug
          Components: Web - UI
    Affects Versions: 1.1
            Reporter: Wendy Smoak


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message