Defect #5381

Issues of a deleted project are not deleted

Added by gabriel scolan about 2 years ago. Updated almost 2 years ago.

Status:New Start date:2010-04-26
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version:0.9.3 Resolution:

Description

In version 0.9.3, it seems that when a project is deleting, the associated issues are not deleted.
One side effect of this is that there is no more possibility to delete a tracker that was only used in the deleted project, since the issues continue existing.

Associated revisions

Revision 3693
Added by Jean-Philippe Lang about 2 years ago

Adds an assertion on issues deletion when deleting a project (#5381).

History

#1 Updated by Jean-Philippe Lang about 2 years ago

A test was added in r3693 in trunk. It also passes on 0.9-stable.
Please, provide some details on how to reproduce.

#2 Updated by gabriel scolan about 2 years ago

here is the scenario:
  • delete all the projects in which the tracker you want to delete is used.
  • try and delete the tracker from the admin interface ==> not possible
  • check the sql db : all the issues of the deleted projects still exists.

one possible root cause could be that I deleted projects containing sub-projects.

#3 Updated by Jean-Baptiste Barth almost 2 years ago

Are you sure projects are deleted, not just archived ?

I cannot reproduce the problem on current trunk :
  • created a tracker "EvilTracker", affected it to a project
  • created an issue on this project+tracker
  • deleted the project
  • deleted the tracker => ok
  • verified the issue is deleted => ok

I leave the issue opened as I suspect there is a defect here, but please provide minimal steps to reproduce on a frech clean install. And provide as many details as possible.

Also available in: Atom PDF