Cannot view file source for some projects
Created by: hannes-brt
After I upgraded to 5.1 from 5.0, I cannot view the source of any files in some of my projects (i.e. some projects work fine, but for those ones that have problems I can't view any files).
If the source view fails, I can only see the header, filepath and filename. In production.log I get the following:
Started GET "/hannes/neural_nets/blob/master/neural_nets/cluster_train.py?_=1367294660779" for 128.100.241.58 at 2013-04-30 00:04:20 -0400
Processing by BlobController#show as JS
Parameters: {"_"=>"1367294660779", "project_id"=>"hannes/neural_nets", "id"=>"master/neural_nets/cluster_train.py"}
Rendered errors/not_found.html.haml within layouts/errors (0.1ms)
Rendered layouts/_head.html.haml (1.2ms)
Rendered layouts/_search.html.haml (37.5ms)
Rendered layouts/_init_auto_complete.html.haml (5.0ms)
Rendered layouts/_head_panel.html.haml (46.0ms)
Rendered layouts/_flash.html.haml (0.1ms)
Filter chain halted as :assign_ref_vars rendered or redirected
Completed 404 Not Found in 60ms (Views: 48.2ms | ActiveRecord: 0.9ms)
Started GET "/admin/logs" for 128.100.241.58 at 2013-04-30 00:05:27 -0400
Processing by Admin::LogsController#show as HTML
As far as I can see, it is older repositories that fail, while new ones work fine. I have upgraded my installation with every release from 3.x (don't remember the exact version I originally installed) through 5.1.