Patch #5438

Patch repairing rendering of subtasks in gantt diagram

Added by Jarek Nowisz over 11 years ago. Updated over 9 years ago.

Status:ClosedStart date:2010-05-04
Priority:NormalDue date:2010-05-04
Assignee:-% Done:


Target version:-


There is a bug in r3733 in sorting algorithm. Id doesn't sort well when you define tasks and subtasks with the same start dates. For example if all tasks and subtask have the same start date, then tasks adn subtasks won't be sorted. Attached simple two-liner repairs this bug.

gantt_subtasks_rendering.diff Magnifier (417 Bytes) Jarek Nowisz, 2010-05-04 15:44

Related issues

Related to Redmine - Defect #6251: Subtasks do not appear under parent task in Gantt Closed 2010-08-31
Related to Redmine - Feature #5194: Favor task/subtask relations in gantt chart Closed 2010-03-26
Related to Redmine - Feature #5881: Subtasks do not always appear below the parent task in Ga... Closed 2010-07-14
Related to Redmine - Defect #5989: Gantt subtasking display broken Closed 2010-07-29
Related to Redmine - Defect #6968: Sorting of issues in Gantt Closed 2010-11-24
Related to Redmine - Defect #7335: Sorting issues in gantt by date, not by id Closed 2011-01-15


#1 Updated by Sepp _ over 11 years ago

Tested. Works

#2 Updated by Yuki Kita over 11 years ago


This patch works fine.
And it also fixes #5194, #5881, #5989.
Many people want these defects to be fixed.
So, the patch should be included in 1.0.1.
The patch is so simple that I think it will not make any trouble.

#3 Updated by Sepp _ over 11 years ago

No, it is not resolved!
After further testing, redmine stable svn from today still shows subtasks in the gantt, where no subtasks are!

#4 Updated by Mischa The Evil over 11 years ago

  • Category set to Gantt

#5 Updated by Damien Couderc over 11 years ago

Works for me.

This fix should be merged ASAP to see if it fixes issues for everyone.

#7 Updated by Toshi MARUYAMA over 9 years ago

  • Description updated (diff)

#8 Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Closed

Gantt was refactored in #6276.
So, this issue is obsolete.

Also available in: Atom PDF