プロジェクト

全般

プロフィール

Vote #73594

完了

Gantt bars with start date and end date on the same day don't become red by overdue

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

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gantt_34
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
34
version_id:
99
issue_org_id:
13521
author_id:
65309
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
66
ステータス-->[Closed]

journals

As I remember, they wont have any bar. Doesn't it? But in the tracker is a patch which fixes this behaviour.

I would try this, but I'm currently not at home (just on my smartphone).

You can find the patches on #12730 and it's related issues. Maybe you could give a quick feedback.

--------------------------------------------------------------------------------
Daniel Felix wrote:
> As I remember, they wont have any bar. Doesn't it?

DOES it.

> I would try this, but I'm currently not at home (just on my smartphone).

This issue is not so urgent and can be combined with another refine.

> You can find the patches on #12730 and it's related issues. Maybe you could give a quick feedback.

The thread is too messy to figure out where is the solution for this issue.

--------------------------------------------------------------------------------
Confirmed.

!{width: 407px;}.gantt-defect13521@2x.png!
--------------------------------------------------------------------------------
FWIW: Pavel Shalagin wrote about it first (and even provided a patch for it) in #6276#note-17 about 7 years ago:
> "Don't know if it can be considered as a problem, but the tasks with the same start_date and end_date seems not to be colored of progress and late correctly on the diagram. They all are just grey. [...]
> I would suggest some changes (please see the patch). [...]"

--------------------------------------------------------------------------------
I confirmed that the patch written by Pavel Shalagin will solve the problem.
However, I think that the Gantt Bar should turn red when the start date is the same as the current date.

I added a few fixes and test code to the patch written by Pavel Shalagin at #6276#note-17.

|change from|change to|
|!gantt1.png!|!gantt2.png!|
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed. Thanks to everyone involved in fixing this issue.
--------------------------------------------------------------------------------

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

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

  • カテゴリGantt_34 にセット
  • 対象バージョン4.0.0_99 にセット

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

いいね!0
いいね!0