Downloading diff redirects to same page
Created by: Razer6
I created a large merge request (Has approximately 200k line diff). The Merge request diff says:
Can't load diff. You can download it instead.
This is actually a link, but when clicking on it, it redirects me to the merge request`s discussion tab and doesn't download the diff.
This is the log when trying to download the diff:
Started GET "/rschilling/ilight/merge_requests/52" for 127.0.0.1 at 2013-02-11 22:11:06 +0100
Processing by MergeRequestsController#show as HTML
Parameters: {"project_id"=>"rschilling/ilight", "id"=>"52"}
Rendered votes/_votes_block.html.haml (2.1ms)
Rendered merge_requests/show/_mr_title.html.haml (8.6ms)
Rendered merge_requests/show/_how_to_merge.html.haml (0.4ms)
Rendered merge_requests/show/_mr_box.html.haml (11.8ms)
Rendered merge_requests/show/_mr_accept.html.haml (12.6ms)
Rendered commits/_commit.html.haml (5.4ms)
Rendered commits/_commit.html.haml (5.5ms)
Rendered commits/_commit.html.haml (5.5ms)
Rendered commits/_commit.html.haml (5.5ms)
Rendered commits/_commit.html.haml (5.4ms)
Rendered commits/_commit.html.haml (5.4ms)
Rendered commits/_commit.html.haml (5.5ms)
Rendered merge_requests/show/_commits.html.haml (41.7ms)
Rendered notes/_form.html.haml (5.9ms)
Rendered notes/_notes_with_form.html.haml (10.6ms)
Rendered merge_requests/_show.html.haml (92.9ms)
Rendered merge_requests/show.html.haml within layouts/project_resource (93.5ms)
Rendered layouts/_head.html.haml (3.2ms)
Rendered layouts/_flash.html.haml (0.2ms)
Rendered layouts/_search.html.haml (35.9ms)
Rendered layouts/_init_auto_complete.html.haml (8.9ms)
Rendered layouts/_head_panel.html.haml (52.2ms)
Rendered shared/_no_ssh.html.haml (1.8ms)
Completed 200 OK in 347ms (Views: 174.3ms | ActiveRecord: 5.9ms)
Started GET "/rschilling/ilight/notes.js?target_type=merge_request&target_id=52&_=1360617067271" for 127.0.0.1 at 2013-02-11 22:11:07 +0100
Processing by NotesController#index as JS
Parameters: {"target_type"=>"merge_request", "target_id"=>"52", "_"=>"1360617067271", "project_id"=>"rschilling/ilight"}
Rendered notes/index.js.haml (0.3ms)
Completed 200 OK in 178ms (Views: 1.6ms | ActiveRecord: 2.1ms)
Running on 970f8607