Vote #74595
完了Default status always inserted to allowed statuses when changing status
0%
説明
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.
journals
You're right, default status should be proposed for new issues only. It's fixed in r12277.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------