Defect #5053
openProject deletion thinks 2 projects are related
0%
Description
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.
Files
Updated by Bruno Prado over 14 years ago
Clicking Yes, project teste2 is not removed.
Updated by Jean-Baptiste Barth over 14 years ago
Cannot reproduce.. Can you confirm it's gone with 0.9.4 version ? If not, could you provide a dump of your "projects" table ?
Updated by Holger Just over 14 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
Project.valid?
If this results in something other than true, you can repair the tree using
Project.rebuild!
Updated by Luis Serrano Aranda over 13 years ago
Any news ? I have a similar error
Updated by Luis Serrano Aranda over 13 years ago
Any news ? I have a similar error
Updated by Jean-Baptiste Barth about 13 years ago
- Priority changed from High to Normal
Luis Polanco: 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.