Actions
Defect #1553
closedtracker_id isn't set on new issue creation
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2008-06-30
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When I create new issue, no matter what tracker i chose, created issue has default (for project) tracker.
I don't know ruby, but you need to change
#app/controllers/issues_controller.rb:118 @issue.tracker ||= @project.trackers.find(params[:tracker_id] ? params[:tracker_id] : :first)
To something like that:
@issue.tracker ||= @project.trackers.find(params[:issue] ? params[:issue][:tracker_id] ? params[:issue][:tracker_id] : :first : :first)
This change has fixed bug in my working copy.
Actions