Skip to content

Delete Avatar Problem #8176

Closed
Closed
@ghost

Description

There is a problem something like this, reproduce:

  1. Create 2 organizations
  2. Set their avatars as same image
  3. Delete one organization

Then you will see other organization's avatar reset to default gitea avatar, becouse image removed from disk.

This is same:

  • Organization avatar
  • User avatar
  • Repository avatar

My opinions for solution:

  1. Check if there are other same avatar name before remote from disk
  2. Check if there are other same avatar name before set avatar and give new name if there

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions