Project

General

Profile

Actions

Defect #10348

closed

Wrong issue statuses assignment during issue copy

Added by Vitaly Klimov over 12 years ago. Updated over 7 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Defect: during issue copy available statuses computed based on source issue status. Also when creating issue status validation performed upon source issue status as well.

Steps to reproduce:

  1. Create two statuses - one should be default, other should be any other status, let's say their names are New and Done
  2. Create workflow that allows current user to change status from New to Done only and does not allow to change status from Done to any other
  3. Create new issue
  4. Change status to Done
  5. Copy issue - on the issue creation screen you will be able to choose New status
  6. After issue creation status in the new issue will be reverted to Done

This defect also allows users to copy issues and assign them statuses they should not be able to assign.

Attached is the patch that solves this inconsistency


Files

issues_controller.patch (1.25 KB) issues_controller.patch Vitaly Klimov, 2012-03-01 15:46

Related issues

Related to Redmine - Feature #23610: Reset status when copying issuesClosedJean-Philippe Lang

Actions
Has duplicate Redmine - Defect #16230: Copying issue to other tracker without the statusClosed

Actions
Actions

Also available in: Atom PDF