Opened 9 years ago

Last modified 9 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


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/

    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 9 years ago.
afterPatch.JPG (101.9 KB) - added by falkb 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by falkb

Attachment: beforePatch.JPG added

Changed 9 years ago by falkb

Attachment: afterPatch.JPG added

comment:1 Changed 9 years 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):

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Chris Nelson.

Add Comment

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

Note: See TracTickets for help on using tickets.