Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63744

GIT Changelog no longer uses author's fullName

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • 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.

          [JENKINS-63744] GIT Changelog no longer uses author's fullName

          Sam Smith created issue -
          Mark Waite made changes -
          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.

          Mark Waite added a comment -

          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.

          Mark Waite added a comment - 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.
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-964 - git plugin show displayName in changeset instead of toString (Web Link)" [ 25918 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Mark Waite made changes -
          Link New: This issue is caused by JENKINS-62688 [ JENKINS-62688 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            markewaite Mark Waite
            tarree Sam Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: