Project

General

Profile

Actions

Patch #40693

closed

Ignore status in roleld_up_status if workflow only defines identity transition

Added by Holger Just 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues workflow
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This is a similar issue to #37636.

In Project#rolled_up_statuses, we currently do not exclude workflows transitions which only define the identity transition (i.e. a transition from one status to the exact same one). This results in statuses to be included here which do not actually take part of a workflow (anymore) and which can not be changed after #37636.

The attached patch ignores these statuses in Project#rolled_up_statuses. This method is used in Redmine core only for the ReportsController. It is also used by external plugins (such as the Agile plugin) to select the shown statuses.


Files

Actions

Also available in: Atom PDF