Project

General

Profile

Actions

Patch #40693

closed

Ignore status in roleld_up_status if workflow only defines identity transition

Added by Holger Just 7 months ago. Updated 7 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 #1

Updated by Go MAEDA 7 months ago

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed
  • Target version set to 5.1.3

Setting the target version to 5.1.3.

Actions #2

Updated by Go MAEDA 7 months ago

  • Tracker changed from Defect to Patch
  • Category set to Issues workflow
  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA

Committed the patch in r22833. Thank you.

Actions #3

Updated by Go MAEDA 7 months ago

  • Status changed from Resolved to Closed

Merged the change to 5.1-stable.

Actions

Also available in: Atom PDF