Custom Query (332 matches)
Results (49 - 51 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#222 | invalid | Wrong number of the new ticket comment | bas | stas.agarkov@… |
Description |
This is error: # How many changes has this ticket cnum = len(tkt.get_changelog()) All right: # How many changes has this ticket cnum = len(tkt.get_changelog())+1 |
|||
#223 | fixed | Incorrectly sets the number of comments | bas | stas.agarkov@… |
Description |
email2trac incorrectly sets the number of comments, because it is based on a number of changes to the table ticket_change. trac uses the TicketModule?.grouped_changelog_entries, which returns a list of changes, in which simultaneous changes are grouped into one that is as it appears in the trac. Your code: ## How many changes has this ticket # cnum = len(tkt.get_changelog()) Right code: # How many changes has this ticket from trac.ticket.web_ui import TicketModule grouped = TicketModule(self.env).grouped_changelog_entries(tkt, self.db) cnum = sum(1 for e in grouped) + 1 |
|||
#65 | fixed | ticketnumber@trachost.domain.tld | anonymous | stappers@… |
Description |
Hello email2trac people, The documentation says that ticket update by E-mail is possible. There is an example where ticket 1529 is updated by putting '#1529' in the Subject line. ( the example could be read as that '[hic] #1529:' should be in the Subject line ) What is needed to update ticket 1529 by E-mail without modifing the Subject line? |