[6.2] Error 500 on "Files" page
Created by: dfyx
I only get the following for one of my projects:
Started GET "/groupname/reponame/tree/master" for 127.0.0.1 at 2013-10-21 06:01:39 +0200
Processing by Projects::TreeController#show as HTML
Parameters: {"project_id"=>"groupname/reponame", "id"=>"master"}
Completed 500 Internal Server Error in 360ms
NoMethodError (undefined method `id' for nil:NilClass):
app/models/tree.rb:7:in `initialize'
lib/extracts_path.rb:120:in `new'
lib/extracts_path.rb:120:in `tree'
app/controllers/projects/tree_controller.rb:11:in `show'
app/controllers/application_controller.rb:54:in `set_current_user_for_thread'
I assume it is because that project has two submodules on the root level. Other projects that have submodules deeper in the hierarchy or no submodules at all work fine.