Project

General

Profile

Actions

Patch #40693

closed

Ignore status in roleld_up_status if workflow only defines identity transition

Patch #40693: Ignore status in roleld_up_status if workflow only defines identity transition

Added by Holger Just over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues workflow
Target version:

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

Updated by Go MAEDA over 2 years ago Actions #1

  • 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.

Updated by Go MAEDA over 2 years ago Actions #2

  • 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.

Updated by Go MAEDA over 2 years ago Actions #3

  • Status changed from Resolved to Closed

Merged the change to 5.1-stable.

Actions

Also available in: PDF Atom