Modify

Opened 22 months ago

Last modified 22 months 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: ChrisNelson
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

     
    619619                if self.isCfg(['pred', 'succ']): 
    620620                    pred = [] 
    621621                    for t in tickets: 
    622                         if not t['children'] and \ 
    623                                 t['milestone'] == row[0] and \ 
     622                        if t['milestone'] == row[0] and \ 
    624623                                self.successors(t) == []: 
    625624                            if self.isField('succ'): 
    626625                                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)

beforePatch.JPG (101.3 KB) - added by falkb 22 months ago.
afterPatch.JPG (101.9 KB) - added by falkb 22 months ago.

Download all attachments as: .zip

Change History (3)

Changed 22 months ago by falkb

Changed 22 months ago by falkb

comment:1 Changed 22 months ago by falkb

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):



Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.