プロジェクト

全般

プロフィール

Vote #68816

未完了

Project completion on gantt is wrong

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

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Gantt_34
対象バージョン:
-
開始日:
2010/12/18
期日:
進捗率:

0%

予定工数:
category_id:
34
version_id:
0
issue_org_id:
7127
author_id:
1
assigned_to_id:
0
comments:
7
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Needs feedback]

説明

The project completion shown on the chart gantt (implemented in @Project#completed_percent@) is kind of broken:

  • it doesn't take issues without target version into account
  • it does a simple average of all versions completions, whereas it should do a weighted calculation based on issue progress/estimate, just like it is done for versions completion.

This is not that hard to fix but that would make the gantt a bit more slow. So the question is: do we keep project completion display on the gantt?


journals

Project completion disabled in r4582 for 1.1. Will be added back if fixed and needed.
--------------------------------------------------------------------------------
This seems to be fixed already due to all the changes which applied to the gantt modul.

Any regression? Otherwise I will close this next week.
--------------------------------------------------------------------------------
Daniel Felix wrote:
> This seems to be fixed already due to all the changes which applied to the gantt modul.

I can't remember any changeset that fixed @Project#completed_percent@. What changes are you referring to?

> Any regression? Otherwise I will close this next week.

The 'regression' was introduced in Redmine version#20 and is still present up to at least 2.1.0.stable.10438 (tested on m.redmine.org).
I'll remove the due date you've set.

Since it seems nobody has actually has missed this feature (which was originally implemented with r4072 for #6276) for over more than two years we could argue that the second condition from the proposition to restore the feature in a future version hasn't been met:

Jean-Philippe Lang wrote:
> [...] Will be added back if fixed and *needed*.

Following the above I think the proper status for this issue at the moment is "Needs feedback" indeed. If anyone wants this feature back in they need to increase activity on this issue.
In general, I don't think it is good to close this issue while the (to-be) obsoleted code is still in.

Note: while testing on m.redmine.org I also got some 'goofy' results with the line showing when a @Project@ is active. Though this falls outside the scope of this issue.
--------------------------------------------------------------------------------
Mischa The Evil wrote:
> Daniel Felix wrote:
> > This seems to be fixed already due to all the changes which applied to the gantt modul.
>
> I can't remember any changeset that fixed @Project#completed_percent@. What changes are you referring to?

Sorry, I meaned the patches provided by Tobias Droste. :-)
There are some patches, which fix some bugs regarding Gantt.
--------------------------------------------------------------------------------
Daniel Felix wrote:
> Mischa The Evil wrote:
> > Daniel Felix wrote:
> > > This seems to be fixed already due to all the changes which applied to the gantt modul.
> >
> > I can't remember any changeset that fixed @Project#completed_percent@. What changes are you referring to?
>
> Sorry, I meaned the patches provided by Tobias Droste. :-)
> There are some patches, which fix some bugs regarding Gantt.

You mean the patches attached to issues #347 and #12730? I did a quick scan of these patches but they doesn't seem to fix the 'regression' nor the specific bugs as described in the list in this issue's description.
--------------------------------------------------------------------------------

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

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

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

  • カテゴリGantt_34 にセット

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

いいね!0
いいね!0