Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 55.3k
    • Issues 55.3k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1.6k
    • Merge requests 1.6k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #209941
Closed
Open
Issue created Mar 10, 2020 by Fernando Crespo@fcrespo82

Interface won't show commit information of files.

Summary

Interface won't show commit information of files.

Steps to reproduce

  1. Create a project with nested folders
  2. Create a file on the last level folder
  3. Navigate through the folders and view the file list on that folder

Example Project

https://gitlab.com/fcrespo82/gitlab-ce-commit-info-bug

The issue does not happen on GitLab.com

What is the current bug behavior?

Interface won't show commit information of files. image

What is the expected correct behavior?

Commit information should be shown. image

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.6.5p114 Gem Version: 2.7.10 Bundler Version:1.17.3 Rake Version: 12.3.3 Redis Version: 5.0.7 Git Version: 2.24.1 Sidekiq Version:5.2.7 Go Version: unknown

GitLab information Version: 12.8.5 Revision: 7b66e67a28a Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.12 URL: https://gitlab.al.sp.gov.br HTTP Clone URL: https://gitlab.al.sp.gov.br/some-group/some-project.git SSH Clone URL: git@gitlab.al.sp.gov.br:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 11.0.0 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 11.0.0 ? ... OK (11.0.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 9/4 ... yes 10/5 ... yes 2/6 ... yes 7/8 ... yes 9/10 ... yes 10/11 ... yes 10/12 ... yes 2/15 ... yes 2/16 ... yes 2/17 ... yes 2/18 ... yes 2/19 ... yes 23/20 ... yes 6/21 ... yes 7/23 ... yes 23/24 ... yes 8/26 ... yes 8/27 ... yes 9/28 ... yes 7/32 ... yes 9/33 ... yes 9/34 ... yes 10/35 ... yes 10/36 ... yes 10/37 ... yes 10/38 ... yes 23/42 ... yes 2/43 ... yes 10/46 ... yes 8/48 ... yes 8/49 ... yes 7/51 ... yes 8/52 ... yes 8/53 ... yes 9/54 ... yes 9/55 ... yes 8/56 ... yes 9/57 ... yes 8/58 ... yes 8/62 ... yes 8/63 ... yes 30/64 ... yes 8/71 ... yes 10/73 ... yes 2/74 ... yes 8/75 ... yes 8/76 ... yes 8/77 ... yes 8/78 ... yes 7/79 ... yes 7/80 ... yes 15/81 ... yes 8/82 ... yes 31/85 ... yes 31/87 ... yes 7/88 ... yes 7/89 ... yes 7/90 ... yes 7/91 ... yes 12/94 ... yes 8/95 ... yes 31/96 ... yes 8/97 ... yes 13/98 ... yes 40/99 ... yes 40/102 ... yes 8/103 ... yes 10/104 ... yes 8/105 ... yes 8/106 ... yes 8/107 ... yes 8/108 ... yes 3/109 ... yes 7/110 ... yes 7/111 ... yes 7/112 ... yes 7/113 ... yes 7/114 ... yes 7/115 ... yes 7/116 ... yes 7/117 ... yes 7/118 ... yes 7/119 ... yes 7/120 ... yes 7/121 ... yes 24/122 ... yes 13/123 ... yes 82/124 ... yes 7/125 ... yes 7/126 ... yes 82/127 ... yes 7/128 ... yes 53/131 ... yes 7/132 ... yes 7/133 ... yes 7/134 ... yes 7/135 ... yes 7/136 ... yes 7/137 ... yes 7/138 ... yes 82/139 ... yes 7/140 ... yes 10/141 ... yes 10/142 ... yes 10/143 ... yes 10/144 ... yes 10/146 ... yes 9/147 ... yes 10/148 ... yes 7/149 ... yes 7/150 ... yes 7/151 ... yes 7/153 ... yes 7/154 ... yes 7/155 ... yes 7/156 ... yes 7/157 ... yes 7/158 ... yes 7/159 ... yes 7/160 ... yes 7/161 ... yes 7/163 ... yes 60/164 ... yes 64/165 ... yes 59/166 ... yes 65/167 ... yes 8/168 ... yes 56/169 ... yes 56/170 ... yes 8/172 ... yes 2/174 ... yes 7/175 ... yes 7/176 ... yes 8/177 ... yes 8/179 ... yes 7/180 ... yes 7/181 ... yes 7/182 ... yes 7/183 ... yes 7/184 ... yes 7/185 ... yes 7/186 ... yes 7/188 ... yes 7/189 ... yes 7/190 ... yes 10/191 ... yes 7/192 ... yes 7/193 ... yes 7/194 ... yes 7/196 ... yes 31/198 ... yes 31/199 ... yes 9/200 ... yes 2/202 ... yes 10/203 ... yes 7/204 ... yes 7/205 ... yes 7/206 ... yes 7/207 ... yes 7/208 ... yes 7/209 ... yes 7/210 ... yes 2/212 ... yes 9/214 ... yes 9/215 ... yes 80/216 ... yes 23/217 ... yes 9/218 ... yes 9/219 ... yes 78/220 ... yes 7/221 ... yes 7/223 ... yes 80/224 ... yes 3/226 ... yes 95/227 ... yes 97/228 ... yes 98/229 ... yes 7/231 ... yes 9/232 ... yes 84/233 ... yes 8/235 ... yes 9/236 ... yes 80/237 ... yes 9/238 ... yes 63/242 ... yes 82/243 ... yes 82/244 ... yes 9/245 ... yes 63/246 ... yes 9/247 ... yes 82/248 ... yes 82/249 ... yes 2/250 ... yes 9/252 ... yes 9/253 ... yes 9/254 ... yes 9/255 ... yes 8/256 ... yes 112/257 ... yes 82/258 ... yes 82/259 ... yes 9/260 ... yes 9/261 ... yes 9/262 ... yes 9/263 ... yes 9/264 ... yes 9/265 ... yes 82/266 ... yes 9/267 ... yes 9/268 ... yes 113/269 ... yes 9/270 ... yes 3/271 ... yes 82/272 ... yes 82/273 ... yes 82/274 ... yes 82/275 ... yes 9/276 ... yes 7/277 ... yes 116/278 ... yes 117/279 ... yes 117/280 ... yes 95/281 ... yes 95/282 ... yes 95/283 ... yes 95/284 ... yes 7/285 ... yes 82/286 ... yes 2/287 ... yes 82/288 ... yes 98/289 ... yes 98/290 ... yes 2/292 ... yes 2/293 ... yes 10/294 ... yes 10/296 ... yes 10/297 ... yes 10/298 ... yes 10/299 ... yes 10/300 ... yes 95/301 ... yes 2/302 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.5) Git version >= 2.22.0 ? ... yes (2.24.1) Git user has default SSH configuration? ... yes Active users: ... 69 Is authorized keys file accessible? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

I think this have to do with the encoding of the path when the request is made. Looking in the developer console shows a 404 on a call to https://host/user/gitlab-ce-commit-info-bug/-/refs/master/logs_tree/folder_1%2Ffolder_2?format=json&offset=0

If I replace %2F for /, https://host/user/gitlab-ce-commit-info-bug/-/refs/master/logs_tree/folder_1/folder_2?format=json&offset=0, the request goes through on lists the commit info on a json.

Edited Mar 10, 2020 by Fernando Crespo
Assignee
Assign to
Time tracking