Defect #28267

New, empty repositories show white, 404 error page instead of the empty repository view

Added by Wojtek … 23 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:3.4.4


Previously, when reposman.rb created an empty repository, navigating to project/repository view yielded 404 error on the page, that there is no entry (and there was link to clone the repository). We observe recently, that empty repositories yield white, 404 error page and the log contains only:

Started GET "/projects/project/repository" for 18….….….…9 at 2018-02-28 06:25:22 -0800
Processing by RepositoriesController#show as HTML
  Parameters: {"id"=>"project"}
  Current user: w (id=1985)
Completed 404 Not Found in 117ms (ActiveRecord: 9.5ms)
  Redmine version                3.4.3.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
  Subversion                     1.9.3
  Git                            2.7.4

Also available in: Atom PDF