Opened 7 years ago

Last modified 7 weeks 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


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 6 years ago by rjollos

  • Owner changed from echo0101 to rjollos

Reassigning ticket to new maintainer.

comment:2 Changed 6 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 file :

<                'reopened': 1,
>                'reopened': 0,

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

comment:3 Changed 7 weeks ago by rjollos

  • Owner rjollos deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.