Project

General

Profile

Actions

Defect #5053

open

Project deletion thinks 2 projects are related

Added by Bruno Prado almost 14 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2010-03-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

projects.jpg (80.7 KB) projects.jpg Bruno Prado, 2010-03-11 18:20
delete.jpg (8.12 KB) delete.jpg Bruno Prado, 2010-03-11 18:20
Actions #1

Updated by Bruno Prado almost 14 years ago

Clicking Yes, project teste2 is not removed.

Actions #2

Updated by Jean-Baptiste Barth over 13 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 ?

Actions #3

Updated by Holger Just over 13 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!
Actions #4

Updated by Luis Serrano Aranda over 12 years ago

Any news ? I have a similar error

Actions #5

Updated by Luis Serrano Aranda over 12 years ago

Any news ? I have a similar error

Actions #6

Updated by Jean-Baptiste Barth over 12 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.

Actions

Also available in: Atom PDF