Opened 13 years ago
Last modified 13 years ago
#9691 assigned defect
Dependencies from MasterTickets not handled correctly for "goal="
Reported by: | Chris Nelson | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
If ticket 1 is required for 2 and 3 and ticket 3 has a Gantt with "goal=self", ticket 1 doesn't show up.
MasterTickets doesn't create a real relation, at least not in ticket_custom
. There I see entries like:
165 | blocking | 166, 167 166 | blocking | 167 168 | blocking | 167, 169
So the query which does:
cursor.execute("SELECT t.id " "FROM ticket AS t " "LEFT OUTER JOIN ticket_custom AS p ON " " (t.id=p.ticket AND p.name='%s') " "WHERE p.value IN (%s)" % (field, n_list)) nodes = ['%s' % row[0] for row in cursor]
can't work. I either need a like query or to query the master tickets table.
Attachments (0)
Change History (7)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
comment:6 Changed 13 years ago by
comment:7 Changed 13 years ago by
(In [11426]) A tree-aware task sorter. Refs #9833, #9042, #9290, #9300, #9691, #9784.
A task's priority depends on its parent's priority.
Includes a base sorter class to hold common sorter methods.
SimpleSorter and ProjectSorter derive from the base class.
(Copy effective priority list, just in case.)
Also remove unneeded debugging output. Refs #9648.
I need to add
relation=
to the documentation.