Modify

Opened 5 years ago

Last modified 4 years ago

#5878 new defect

Erroneous stats when using custom status/workflow counted twice in Open tickets formulae

Reported by: samuelp@… Owned by: rjollos
Priority: normal Component: TracTicketStatsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description

Here, we use a custom workflow which has a "testing" status. See TestingWorkflow. All tickets with that status seem to be counted twice in the resulting "Open tickets" count.

The queries should also count unknown statuses, or should consider that any bug that status <> 'closed' is an open bug.

We cannot use the plugin since it gives erroneous stats in our use case. :(

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by rjollos

  • Owner changed from echo0101 to rjollos

Reassigning ticket to new maintainer.

comment:2 Changed 4 years ago by antoine@…

  • Trac Release changed from 0.11 to 0.12

On a similar issue our ropened tickets where counted twice in the _get_num_open_tix() method.

I edited the ticketstats.py file :

100c100
<                'reopened': 1,
---
>                'reopened': 0,

And now the totals matches what I can see on the roadmap screen.

Add Comment

Modify Ticket

Action
as new The owner will remain rjollos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.