"Reference in new issue" original-poster tagging not working #7859

Closed
opened 2025-11-02 07:39:31 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @MrGussio on GitHub (Sep 17, 2021).

Gitea Version

1.15.0

Git Version

2.27.0

Operating System

Windows Server 2019

How are you running Gitea?

We used the download from the Gitea website and are running it as a service on Windows, as described in the installation instructions.

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

When using the "Reference this issue"-feature for an existing issue, it creates a new issue by quoting the previous one. At the bottom of the issue, there is a reference to the original author. However, in our case, it does not tag it correctly: it takes the display name (so in my case it would print @Jelle%20Hulter instead of @jellehulter using my username).

I was unable to reproduce it on the demo site, somehow it shows the username there for issues instead of the display name/full name which is attached to the account. Tried committing a commit which used the same email as the Gitea account but that didn't help either.

After this, I noticed that our Gitea configuration had the DEFAULT_SHOW_FULL_NAME setting set to true which caused this change. Apparently, the "Reference this issue"-window uses this setting to determine if it should use either the username or the full name, while this should be just the display name.

Maybe this has already been fixed in the meanwhile, I tried taking a look in the PR and issue history but I was unable to find a similar issue.

Screenshots

gitea_issue_screenshot
Here, the username would be expected instead of the full name (and hence still the percentage-sign encoding of a space)

Originally created by @MrGussio on GitHub (Sep 17, 2021). ### Gitea Version 1.15.0 ### Git Version 2.27.0 ### Operating System Windows Server 2019 ### How are you running Gitea? We used the download from the Gitea website and are running it as a service on Windows, as described in the installation instructions. ### Database SQLite ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Description When using the "Reference this issue"-feature for an existing issue, it creates a new issue by quoting the previous one. At the bottom of the issue, there is a reference to the original author. However, in our case, it does not tag it correctly: it takes the display name (so in my case it would print `@Jelle%20Hulter` instead of `@jellehulter` using my username). I was unable to reproduce it on the demo site, somehow it shows the username there for issues instead of the display name/full name which is attached to the account. Tried committing a commit which used the same email as the Gitea account but that didn't help either. After this, I noticed that our Gitea configuration had the `DEFAULT_SHOW_FULL_NAME` setting set to true which caused this change. Apparently, the "Reference this issue"-window uses this setting to determine if it should use either the username or the full name, while this should be just the display name. Maybe this has already been fixed in the meanwhile, I tried taking a look in the PR and issue history but I was unable to find a similar issue. ### Screenshots ![gitea_issue_screenshot](https://user-images.githubusercontent.com/5089229/133768429-33a93dba-f7ac-41d2-bba3-075f6bb91b73.png) Here, the username would be expected instead of the full name (and hence still the percentage-sign encoding of a space)
Author
Owner

@MrGussio commented on GitHub (Sep 17, 2021):

After cloning and building it myself, I can confirm it is still the case in Gitea version 1.16.0+dev-252-gf96d0d3d5:
image

@MrGussio commented on GitHub (Sep 17, 2021): After cloning and building it myself, I can confirm it is still the case in Gitea version 1.16.0+dev-252-gf96d0d3d5: ![image](https://user-images.githubusercontent.com/5089229/133771043-44e3c50b-3d9d-47f8-aec4-b3d7c38dd229.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7859