Modify ↓
Opened 12 years ago
Last modified 12 years ago
#10127 new defect
[PATCH] if the milestone due date is the only given date at all, ALAP scheduling must use it as end date of last successor ticket
Reported by: | falkb | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
related to #9705.
I have several tickets grouped with parent tickets. They all don't have any dates set at all. The only date set is the milestone due date.
ALAP scheduling only works well if I apply this patch:
-
tracjsganttplugin/0.11/tracjsgantt/tracpm.py
619 619 if self.isCfg(['pred', 'succ']): 620 620 pred = [] 621 621 for t in tickets: 622 if not t['children'] and \ 623 t['milestone'] == row[0] and \ 622 if t['milestone'] == row[0] and \ 624 623 self.successors(t) == []: 625 624 if self.isField('succ'): 626 625 t[self.fields[self.sources['succ']]] = \
Without this patch, "today" is used as end date of the last successor and the scheduled plan starts in the past, which is completely wrong.
Attachments (2)
Change History (3)
Changed 12 years ago by
Attachment: | beforePatch.JPG added |
---|
Changed 12 years ago by
Attachment: | afterPatch.JPG added |
---|
comment:1 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
illustrating the scenary, a common one -> milestone2 is the only thing having a date, all tickets just have dependencies, parents and planned hours, milestone3 and 4 do not have a due date, today is 2/Jun, alap mode schedules into the past, that's another story (#9705):