プロジェクト

全般

プロフィール

Vote #66355

完了

Precede-Follow relation should move following issues when rescheduling issue earlier

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

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues planning_40
対象バージョン:
開始日:
2010/01/15
期日:
進捗率:

0%

予定工数:
category_id:
40
version_id:
56
issue_org_id:
4590
author_id:
11106
assigned_to_id:
1
comments:
5
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Hi,

Suppose Task1 precedes Task2...and when I postpone Task1, then Task2's start date gets postponed as well. However, when Task1 gets moved earlier, Task2's start date remains as-is; effectively detaching the precede-follow relationship. Is it possible to implement so that precede-follow relationship remains when tasks get moved in either direction?


journals

This can be done by apply following code

<pre>
--- 1/app/model/issue.rb 2010-04-29 13:52:50.000000000 +0800
+++ 2/app/model/issue.rb 2010-04-29 14:32:20.000000000 +0800
@@ -446,7 +446,7 @@
def reschedule_after(date)
return if date.nil?
if leaf?
- if start_date.nil? || start_date < date
+ if start_date.nil? || start_date != date
self.start_date, self.due_date = date, date + duration
save
end
</pre>

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Still having the same problem in version 1.2.1 stable.
--------------------------------------------------------------------------------
Implemented in r10878.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,5803,Precedes/Follows Relationships Broke
duplicates,Closed,8936,rescheduling of an issue to an earlier date does not update issues that follow on this issue

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

  • カテゴリIssues planning_40 にセット
  • 対象バージョン2.2.0_56 にセット

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

いいね!0
いいね!0