continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Morales Martinez (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use
Date Tue, 24 Mar 2009 23:23:12 GMT

     [ http://jira.codehaus.org/browse/CONTINUUM-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jose Morales Martinez updated CONTINUUM-1767:
---------------------------------------------

    Attachment: CONTINUUM-1767.patch

This patch checks build definitions.

> 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
>            Assignee: Maria Catherine Tan
>             Fix For: 1.x
>
>         Attachments: Continuum-1767-continuum-webapp.patch, CONTINUUM-1767.patch
>
>
> 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