プロジェクト

全般

プロフィール

Vote #66804

未完了

Project deletion thinks 2 projects are related

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Projects_11
対象バージョン:
-
開始日:
2010/03/11
期日:
進捗率:

0%

予定工数:
category_id:
11
version_id:
0
issue_org_id:
5053
author_id:
5666
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
15
ステータス-->[New]

説明

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.


journals

Clicking Yes, project teste2 is not removed.
--------------------------------------------------------------------------------
Cannot reproduce.. Can you confirm it's gone with 0.9.4 version ? If not, could you provide a dump of your "projects" table ?
--------------------------------------------------------------------------------
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

<pre><code class="ruby">Project.valid?</code></pre>

If this results in something other than true, you can repair the tree using

<pre><code class="ruby">Project.rebuild!</code></pre>
--------------------------------------------------------------------------------
Any news ? I have a similar error
--------------------------------------------------------------------------------
Any news ? I have a similar error
--------------------------------------------------------------------------------
@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.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリProjects_11 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0