Link to old deleted branch result in 404
Created by: Razer6
Clicking on old branches (which are already deleted) on the dashboard result in 404
Steps to reproduce
- Create a new feature branch and push something to
- Merge it to another branch and delete (via GitLab)
- Click on any branch link on the dashboard
Observed behavior
- When clicking on an old deleted branch link a 404 is raised
Expected behavior
- File state for this branch
Here is my production.log whereaslocalFD
is an old branch.
Started GET "/sweb/commits/localFD" for 127.0.0.1 at 2012-12-10 23:13:35 +0100
Processing by CommitsController#show as HTML
Parameters: {"project_id"=>"sweb", "id"=>"localFD"}
Rendered errors/not_found.html.haml within layouts/errors (0.2ms)
Rendered layouts/_head.html.haml (3.9ms)
Rendered layouts/_flash.html.haml (0.3ms)
Rendered layouts/_search.html.haml (13.2ms)
Rendered layouts/_init_auto_complete.html.haml (9.4ms)
Rendered layouts/_head_panel.html.haml (30.2ms)
Filter chain halted as :assign_ref_vars rendered or redirected
Completed 404 Not Found in 177ms (Views: 38.6ms | ActiveRecord: 1.7ms)
Running on 5.3.0 148eade9