Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4085

Closed
Open
Created May 27, 2013 by Administrator@rootOwner

Broken Links in 5.2 Dashboard Push Events After Changing Username

Created by: terrywang

Summary: links in dashboard are broken because the links still refer to the old username (terry) instead of the new one (terrywang).

Steps to reproduce: Update GitLab from 4.0 to 5.1, change the username from terry to terrywang (login using username was made possible). Then upgrade to 5.2. On dashboard click on the project / username in the push events.

Expected behaviour: The links in push events in Dashboard, for instance => terrywang pushed to branch master at terrywang / vagrant, it is showing the correct username (after changing username), it should redirect users to http://HOSTNAME/terrywang/vagrant instead of http://HOSTNAME/terry/vagrant

Observed behaviour: The links in push events in Dashboard, for instance => terrywang pushed to branch master at terrywang / vagrant, it is showing the correct username (after changing username) but it links to http://HOSTNAME/terry/vagrant. For some reason the links are not updated after the name change.

NOTE: the links in Projects on the right hand side of the Dashboard works fine.

Not sure if this is a bug or due to missing steps when upgrading. I think it's something worth looking into;-)

Screenshots GitLab issue 4085

Output of checks

I masked the domain name. It still exist in 5.2.1.

git@devops:~/gitlab$ bundle exec rake gitlab:env:info RAILS_ENV=production
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0

System information
System:         Ubuntu 13.04
Current User:   git
Using RVM:      no
Ruby Version:   1.9.3p327
Gem Version:    1.8.23
Bundler Version:1.3.5
Rake Version:   10.0.4

GitLab information
Version:        5.2.0
Revision:       6654db2
Directory:      /home/git/gitlab
DB Adapter:     mysql2
URL:            http://devops.company.com
HTTP Clone URL: http://devops.company.com/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        1.4.0
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git

For 5.2.1

git@devops:~/gitlab$ bundle exec rake gitlab:env:info RAILS_ENV=production
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0

System information
System:         Ubuntu 13.04
Current User:   git
Using RVM:      no
Ruby Version:   1.9.3p327
Gem Version:    1.8.23
Bundler Version:1.3.5
Rake Version:   10.0.4

GitLab information
Version:        5.2.1
Revision:       26ed59f
Directory:      /home/git/gitlab
DB Adapter:     mysql2
URL:            http://devops.company.com
HTTP Clone URL: http://devops.company.com/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        1.4.0
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git
git@devops:~/gitlab$
Assignee
Assign to
Time tracking