-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins v2.249.1 LTS
A recent pull request for Jenkins has changed the toString method for a User to return the id of the user, instead of the fullName (Details in PR 4803
For us this has meant the git changelog has become harder to use as we can't easily identify a user for a particular commit as the ID for a user is their LDAP username. Ideally we'd like the old functionality back to show a user's full name in the change log, although perhaps the option to set globally or optionally override on a project basis is a better solution.
- is caused by
-
JENKINS-62688 User.toString() should print the users ID not fullname
-
- Resolved
-
- links to
[JENKINS-63744] GIT Changelog no longer uses author's fullName
Description |
Original:
A recent pull request for Jenkins has changed the toString method for a User to return the id of the user, instead of the fullName (Details here: [https://github.com/jenkinsci/jenkins/pull/4803)] For us this has meant the git changelog has become harder to use as we can't easily identify a user for a particular commit as the ID for a user is their LDAP username. Ideally we'd like the old functionality back to show a user's full name in the change log, although perhaps the option to set globally or optionally override on a project basis is a better solution. |
New:
A recent pull request for Jenkins has changed the toString method for a User to return the id of the user, instead of the fullName (Details in [PR 4803|https://github.com/jenkinsci/jenkins/pull/4803] For us this has meant the git changelog has become harder to use as we can't easily identify a user for a particular commit as the ID for a user is their LDAP username. Ideally we'd like the old functionality back to show a user's full name in the change log, although perhaps the option to set globally or optionally override on a project basis is a better solution. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR-964 - git plugin show displayName in changeset instead of toString (Web Link)" [ 25918 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Link |
New:
This issue is caused by |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |
I agree with the comment from Oleg Nenashev that the git plugin's dependency on the contents of User.toString() is a bug. It should use User.getFullName() since that is what was being displayed before and that is a reasonable choice to display to users.