You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2008/05/11 21:11:27 UTC

[jira] Created: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use

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

        

[jira] Updated: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use

Posted by "Jevica Arianne B. Zurbano (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jevica Arianne B. Zurbano updated CONTINUUM-1767:
-------------------------------------------------

    Attachment: Continuum-1767-continuum-webapp.patch

Attached patch.

> 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
>             Fix For: 1.x
>
>         Attachments: Continuum-1767-continuum-webapp.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

        

[jira] Assigned: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Catherine Tan reassigned CONTINUUM-1767:
----------------------------------------------

    Assignee: Maria Catherine Tan

> 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
>
>
> 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

        

[jira] Updated: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use

Posted by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (CONTINUUM-1767) Better handling of error when deleting a Build Environment that is in use

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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.x

> 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
>             Fix For: 1.x
>
>
> 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