ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Gantt issue sorting (Bug #651)


Added by Mathieu MARACHE at 2011-10-11 08:43 am. Updated at 2013-06-24 04:30 pm.


Status:Open Start date:2011-10-11
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:2.3.0

Description

The gantt helper does it's own issue sorting that does not check wether the issue.root_id isNil like the comparison operator in the issue model class.

changing source:lib/redmine/helpers/gantt.rb#L204 like this corrects the problem on my side :

1#sort_issues!(issues)
2issues.sort!

Also available in: Atom PDF