id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
9691	Dependencies from MasterTickets not handled correctly for "goal="	ChrisNelson	ChrisNelson	If ticket 1 is required for 2 and 3 and ticket 3 has a Gantt with "goal=self", ticket 1 doesn't show up. \r\n\r\nMasterTickets doesn't create a real relation, at least not in `ticket_custom`.  There I see entries like:\r\n\r\n{{{\r\n    165 | blocking | 166, 167\r\n    166 | blocking | 167\r\n    168 | blocking | 167, 169\r\n}}}\r\n\r\nSo the query which does:\r\n\r\n{{{\r\n            cursor.execute("SELECT t.id "\r\n                           "FROM ticket AS t "\r\n                           "LEFT OUTER JOIN ticket_custom AS p ON "\r\n                           "    (t.id=p.ticket AND p.name='%s') "\r\n                           "WHERE p.value IN (%s)" % \r\n                           (field, n_list))\r\n            nodes = ['%s' % row[0] for row in cursor] \r\n}}}\r\n\r\ncan't work.  I either need a ''like'' query or to query the master tickets table.	defect	assigned	normal	TracJsGanttPlugin	normal				0.11
