Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.3.3 (Beta)
-
Component/s: Web - UI
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
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
Issue Links
| This issue is related to: | ||||
| CONTINUUM-2258 | Some errors should have meaningful message instead of showing the stack trace |
|
|
|
Attached patch.