Actions
Defect #15344
closedDefault status always inserted to allowed statuses when changing status
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
In IssuesController , "build_new_issue_from_params" method is called when status is changed. (set in before_filter for update_form action)
build_new_issue_from_params has the following line:
@allowed_statuses = @issue.new_statuses_allowed_to(User.current, true)
the second parameter , being always true , causes IssueStatus.default to be pushed to the allowed_statuses.
I think this is a bug.
Updated by Jean-Philippe Lang about 11 years ago
- Category set to Issues workflow
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.3.4
- Resolution set to Fixed
You're right, default status should be proposed for new issues only. It's fixed in r12277.
Actions