git-blame view does not show profile icons correctly #4266

Closed
opened 2025-11-02 05:44:17 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @hapasa on GitHub (Nov 7, 2019).

  • Gitea version (or commit ref): 1.10
  • Git version: 1.8.3.1
  • Operating system: Red Hat Enterprise Linux Server release 7.6 (Maipo)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [X ] Not relevant
  • Log gist:

Description

If in settings

DISABLE_GRAVATAR = true
ENABLE_FEDERATED_AVATAR = true

the git-blame view will display generic coffee cup avatar, while it the Dashboards the local avatar is correctly displayed.

In git-blame:
<img class="ui avatar image" src="/img/avatar_default.png" title="Harri">

In Dashboard:
<img class="ui avatar image" src="/user/avatar/harri/-1" alt="">

...

Screenshots

image

image

Originally created by @hapasa on GitHub (Nov 7, 2019). - Gitea version (or commit ref): 1.10 - Git version: 1.8.3.1 - Operating system: Red Hat Enterprise Linux Server release 7.6 (Maipo) - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X ] Not relevant - Log gist: ## Description If in settings DISABLE_GRAVATAR = true ENABLE_FEDERATED_AVATAR = true the git-blame view will display generic coffee cup avatar, while it the Dashboards the local avatar is correctly displayed. In git-blame: `<img class="ui avatar image" src="/img/avatar_default.png" title="Harri">` In Dashboard: `<img class="ui avatar image" src="/user/avatar/harri/-1" alt="">` ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![image](https://user-images.githubusercontent.com/8208561/68400545-822e5800-0178-11ea-8e57-5595d2f0fa5a.png) ![image](https://user-images.githubusercontent.com/8208561/68400682-b6a21400-0178-11ea-8825-b238bfefbb64.png)
GiteaMirror added the issue/staleissue/needs-feedback labels 2025-11-02 05:44:17 -06:00
Author
Owner

@mrsdizzie commented on GitHub (Nov 7, 2019):

Do you have a full example you can link to? The main reason this would happen is if that particular commit you cropped in the screenshot has a different e-mail address than the user with the icon

@mrsdizzie commented on GitHub (Nov 7, 2019): Do you have a full example you can link to? The main reason this would happen is if that particular commit you cropped in the screenshot has a different e-mail address than the user with the icon
Author
Owner

@jolheiser commented on GitHub (Nov 7, 2019):

Per the Discord conversation it seems this was caused by emails not matching.

@jolheiser commented on GitHub (Nov 7, 2019): Per the Discord conversation it seems this was caused by emails not matching.
Author
Owner

@hapasa commented on GitHub (Nov 8, 2019):

Indeed it was email address mismatch. However, it was not at all obvious to sort out, especially since in the Dashboard the correct avatar was showing.

@hapasa commented on GitHub (Nov 8, 2019): Indeed it was email address mismatch. However, it was not at all obvious to sort out, especially since in the Dashboard the correct avatar was showing.
Author
Owner

@stale[bot] commented on GitHub (Jan 8, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 8, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4266