Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (211 - 213 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
#224 fixed Email2trac keeps sending updates bas chawkins@…
Description

I am testing an automated email that comes from Salesforce when certain trigger happens and it creates a ticket in trac via Email2trac.

However, the ticket won't stop updating the comments and I can't delete the ticket because it's in use.. What can i do? Is this a Salesforce or Email2trac bug?

It literally updates it every couple of seconds...

Note: See TracQuery for help on using queries.