You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2009/11/04 09:37:55 UTC

[jira] Updated: (CONTINUUM-2403) Build definition is not removed in database even if you've already removed the build definition from the project/project group and all the build results that references it

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

Maria Odea Ching updated CONTINUUM-2403:
----------------------------------------

    Component/s:     (was: Web - UI)
                 Database

> Build definition is not removed in database even if you've already removed the build definition from the project/project group and all the build results that references it
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2403
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2403
>             Project: Continuum
>          Issue Type: Bug
>          Components: Database
>    Affects Versions: 1.3.4
>            Reporter: Maria Odea Ching
>
> Because of this, it is not possible to delete the schedule where this build definition is attached.
> To reproduce this:
> 1. Create a new schedule named 'SCHEDULE_1'
> 2. Create a new build definition for your project group and attach this build definition to 'SCHEDULE_1'
> 3. Build the project group
> 4. Delete the build definition for the project group
> 5. Delete the build results that used this build definition
> 6. Delete 'SCHEDULE_1'
> You will not be able to delete SCHEDULE_1 and get the following error 'The schedule cant be removed, it is probably used by a build definition.'
> If you look at the BUILDDEFINITION table, you will see that the build definition you created in step 2 is still there even though no project group/project/build result has reference to it.
> This only happens if you already used the build definition for building the project (e.g. a build result was created). Otherwise, the build definition is removed from the database.

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