Modify ↓
Opened 17 years ago
Closed 17 years ago
#2735 closed defect (worksforme)
The status and summary of a wrong ticket is applied.
Reported by: | anonymous | Owned by: | Norbert Ferchen |
---|---|---|---|
Priority: | normal | Component: | BackRefPatch |
Severity: | normal | Keywords: | |
Cc: | ghama | Trac Release: | 0.10 |
Description
The patch to ticket/web_ui.py is wrong. Maybe below is correct, isn't it?
near line 601:
if rtype == "ticket": t = Ticket(self.env, rid) ref.update({ "shortname': '#%i' % rid, 'summary': t['summary'], 'closed': t['status'] == 'closed' })
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
Cc: | ghama added; anonymous removed |
---|
comment:2 follow-up: 3 Changed 17 years ago by
comment:3 Changed 17 years ago by
and, import of Ticket is also needed
from trac.ticket import Ticket
comment:4 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hallo Ghama, I could not follow your changes. The line numbers does not match with the 0.10.4 (last stable in 0.10). You mixed up quote and double-quote for the string "shortname'. The import of Ticket was done in line 26. Please give me further information about the patch you tried.
Note: See
TracTickets for help on using
tickets.
one more modification needed in wiki/web_ui.py
near line 519: