continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse (JIRA)" <>
Subject [jira] Closed: (CONTINUUM-1813) deleting projects not working if build-results exist
Date Sat, 21 Mar 2009 10:29:13 GMT


Emmanuel Venisse closed CONTINUUM-1813.

         Assignee: Emmanuel Venisse
       Resolution: Fixed
    Fix Version/s:     (was: 1.3.x)

Already fixed.

> deleting projects not working if build-results exist
> ----------------------------------------------------
>                 Key: CONTINUUM-1813
>                 URL:
>             Project: Continuum
>          Issue Type: Bug
>          Components: Database
>    Affects Versions: 1.1
>         Environment: MySQL-version is 5.0.32
> driver-version is mysql-connector-java-5.1.6-bin.jar
>            Reporter: Marc Lustig
>            Assignee: Emmanuel Venisse
>             Fix For: 1.3.2
> If build-results (failure or success) exist, then the project doesn't get deleted. The
following error's occur:
> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM `PROJECT` WHERE `ID`
= ? NestedThrowables: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Cannot delete or update a parent row: a foreign key constraint fails (`continuum/BUILDRESULT`,
> or 
> javax.jdo.JDODataStoreException: Update request failed: UPDATE `BUILDRESULT` SET `BUILD_DEFINITION_ID_OID`=?,
com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying
to get lock; try restarting transaction
> After deleting all build-results, the project can be deleted.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message