The bug submitter's full name and email address are not always shown on a bug report. On some bug reports, only a plain email address is shown. On https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191541 from today, the name was shown but was a link to the email address, making cutting and pasting difficult. Preferably, these would be shown with the name as plain text, followed by the email address which is a mailto link.
Warren, is this still an issue, or can it be closed already?
It is still an issue.
Current behavior is to show full name if it's provided, otherwise - email. mailto: link added in both cases if viewer is logged in. For non-loogged in users it's just plain text. I checked templates - the user representation is global, so we can't change it just for reporter field in bug view and having "User Name <user@domain.org>" in comments section looks noisy. Required functionality still can be implement with custom template + one modification to stock bugzilla version, but I'd rather touch upstream sources as little as possible. Warren any particular reason why right-click and selecting "Copy Link" in context menu on hyperlink is not enough to get reporter's email?
It's easy enough to get a submitter's email. What's difficult is finding their name to put in a commit message addressing the bug. This is particularly important for patch submissions, because it could show history for a person being proposed for a commit bit. A name is much less likely to change than an email address, and email addresses often have nothing to tie them to a name anyway.
(In reply to Warren Block from comment #4) I am not sure I completely understand. If user provided real name it must be shown in all the fields. If they don't have real name associated with account it's their choice and we can't do anything about them. Historical record is somewhat different. During GNATS to Bugzilla conversion all real names were ignored, only emails were imported. There is open bug #191768 that addresses this issue and I am going to re-import real names to all users who never logged in from GNATS. The idea is that if user has logged in it is his conscious choice to not have real name. If this PR is not about historical records could you point me to one of the PRs where real name is missing so I could check why exactly it is missing there Thanks
If the user provides their name, the way bugzilla shows the line hides their email address. See the first line of this bug we are talking about this: Reported: 2014-07-01 19:52 MDT by Warren Block In that line, my name is a link, but the actual email address is not shown. Because it is not shown, both the username and email address cannot be copied into a commit message or other post. Clicking on the link, at least with my configuration, opens an email client with only the email address and no name.
(In reply to Warren Block from comment #6) I added template hook to the BFBSD extension that adds custom "Reporter" entry to view bug dialog, right under "See Also" field. This field contains reporter identity. email or email combined with full name suitable for copy-pasting in commit message. It's visible for logged in users. I originally planned to make it visible only for committers but there might be committers who use their non-FreeBSD.org logins. It's not committed to repo yet, please let me know if proposed solution solves the problem.
Closing as fixed. Patch committed in https://github.com/gonzoua/bugzilla/commit/575bb2b18bb4e3cd3215ac2370b988e83f5f4ec3