[
http://jira.codehaus.org/browse/CONTINUUM-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated CONTINUUM-1767:
------------------------------------
Fix Version/s: 1.4.0
Patch Submitted: [Yes]
Marica, are you still working on this?
> 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.4.0
>
> 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