id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10127	[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	falkb	ChrisNelson	related to #9705.\r\n\r\nI 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.\r\n\r\nALAP scheduling only works well if I apply this patch:\r\n{{{\r\n#!diff\r\nIndex: tracjsganttplugin/0.11/tracjsgantt/tracpm.py\r\n===================================================================\r\n--- tracjsganttplugin/0.11/tracjsgantt/tracpm.py_(revision 11706)\r\n+++ tracjsganttplugin/0.11/tracjsgantt/tracpm.py_(working copy)\r\n@@ -619,8 +619,7 @@\r\n                 if self.isCfg(['pred', 'succ']):\r\n                     pred = []\r\n                     for t in tickets:\r\n-                        if not t['children'] and \\\r\n-                                t['milestone'] == row[0] and \\\r\n+                        if t['milestone'] == row[0] and \\\r\n                                 self.successors(t) == []:\r\n                             if self.isField('succ'):\r\n                                 t[self.fields[self.sources['succ']]] = \\\r\n}}}\r\n\r\nWithout this patch, "today" is used as end date of the last successor and the scheduled plan starts in the past, which is completely wrong.	defect	new	normal	TracJsGanttPlugin	major				0.11
