Skip to content

Email aliases don't apply on commits page, despite doing so when viewing a specific commit

Summary

This seems to happen after you push a commit from an email not owned by any user (In my case, Evar@EVAR678-SURFACE), then associate the address with your user account via the Profile Settings menu. This seems to apply to the http://.../{repository}/commits/{branch} page. Visiting a http://.../{repository}/commit/{hash} page shows the correct author.

Steps to reproduce

  1. Commit to a repository via an unassigned alias
  2. Associate said alias with a user.
  3. Load the 'Commits' page for your repository. (4). Load a commit submitted by this user.

Expected behavior

The icon of the user for the commit and the hyperlinklink associated with it should redirect to the profile page of the associated user

Actual behavior

The icon of the user for the commit is a generic avatar, and the hyperlink leads to a mailto of the email, despite having a user association.

Relevant logs and/or screenshots

Commits page chrome_2017-01-02_22-34-38

Specific commit chrome_2017-01-02_22-32-00

Profile page chrome_2017-01-02_22-36-24

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab application Check

Can't run application check at the current time

Results of GitLab environment info

Can't get environment info at the current time

My gitlab install is a clean install on Ubuntu Server 14.04 with the only active repository being the one I'm working on. It's fully up to date, and only just installed last week.