Modify

Opened 15 years ago

Last modified 8 years ago

#5878 new defect

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

Reported by: samuelp@… Owned by:
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 (3)

comment:1 Changed 13 years ago by Ryan J Ollos

Owner: changed from Prentice Wongvibulsin to Ryan J Ollos

Reassigning ticket to new maintainer.

comment:2 Changed 13 years ago by antoine@…

Trac Release: 0.110.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.

comment:3 Changed 8 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.