Project deletion thinks 2 projects are related
This test was done: there were 3 projects (say, teste, teste1, teste2), independent, none was child or father of any other. Project teste had some children and father. All this structure was removed, letting just teste2 and teste3. Now, when I try to remove teste1, Redmine thinks teste2 is subproject of teste1. See images attached.
#3 Updated by Holger Just over 12 years ago
Probably, the fields in the
projects table defining the tree structure somehow got corrupted.
You can check if the tree is valid in
script/console by typing
If this results in something other than true, you can repair the tree using
#6 Updated by Jean-Baptiste Barth about 11 years ago
- Priority changed from High to Normal
@Luis: if you have a similar error, help us track that bug down ;) Give us informations requested at SubmittingBugs, and try what Holger suggested (to run "Project.rebuild!" in a "ruby script/console"). A dump of you "projects" table in the database before and after the rebuild would help a lot too.