Project

General

Profile

Actions

Defect #10348

closed

Wrong issue statuses assignment during issue copy

Added by Vitaly Klimov about 12 years ago. Updated almost 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 #1

Updated by Go MAEDA about 9 years ago

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

Updated by Go MAEDA about 9 years ago

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

Updated by Florian ROBERT over 8 years ago

+1 no needs of #17576 if this is corrected

Actions #4

Updated by Toshi MARUYAMA over 7 years ago

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

Updated by Toshi MARUYAMA over 7 years ago

Actions #6

Updated by Toshi MARUYAMA almost 7 years ago

  • Status changed from New to Needs feedback

Can we close this issue by fixed #23610?

Actions #7

Updated by Go MAEDA almost 7 years ago

  • 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: Atom PDF