Project

General

Profile

Actions

Defect #10348

closed

Wrong issue statuses assignment during issue copy

Defect #10348: Wrong issue statuses assignment during issue copy

Added by Vitaly Klimov almost 15 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
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 2 (0 open — 2 closed)

Related to Redmine - Feature #23610: Reset status when copying issuesClosedJean-Philippe LangActions
Has duplicate Redmine - Defect #16230: Copying issue to other tracker without the statusClosedActions

Updated by Go MAEDA over 11 years ago Actions #1

  • Has duplicate Defect #16230: Copying issue to other tracker without the status added

Updated by Go MAEDA over 11 years ago Actions #2

  • Related to Feature #17576: Ability to choose, in administration page, the behaviour of status during copying issues added

Updated by Florian ROBERT about 11 years ago Actions #3

+1 no needs of #17576 if this is corrected

Updated by Toshi MARUYAMA about 10 years ago Actions #4

  • Related to deleted (Feature #17576: Ability to choose, in administration page, the behaviour of status during copying issues)

Updated by Toshi MARUYAMA about 10 years ago Actions #5

Updated by Toshi MARUYAMA over 9 years ago Actions #6

  • Status changed from New to Needs feedback

Can we close this issue by fixed #23610?

Updated by Go MAEDA over 9 years ago Actions #7

  • Status changed from Needs feedback to Closed
  • Resolution set to Fixed

Toshi MARUYAMA wrote:

Can we close this issue by fixed #23610?

You are right. Fixed by #23610.
This problem never happen in upcoming Redmine 3.4.0 because issue status is reset to default when an issue is copied.

Actions

Also available in: PDF Atom