Bug 191543 - Submitter's full name and email address are not always shown
Summary: Submitter's full name and email address are not always shown
Status: Closed FIXED
Alias: None
Product: Services
Classification: Unclassified
Component: Bug Tracker (show other bugs)
Version: unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: Oleksandr Tymoshenko
URL:
Keywords:
Depends on: customtemplates
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-02 01:52 UTC by Warren Block
Modified: 2018-04-06 00:20 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Warren Block freebsd_committer freebsd_triage 2014-07-02 01:52:55 UTC
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.
Comment 1 Bartek Rutkowski freebsd_committer freebsd_triage 2016-04-17 11:47:42 UTC
Warren, is this still an issue, or can it be closed already?
Comment 2 Warren Block freebsd_committer freebsd_triage 2016-04-17 15:38:07 UTC
It is still an issue.
Comment 3 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2018-02-16 02:14:56 UTC
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?
Comment 4 Warren Block freebsd_committer freebsd_triage 2018-02-17 22:01:36 UTC
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.
Comment 5 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2018-02-17 22:45:38 UTC
(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
Comment 6 Warren Block freebsd_committer freebsd_triage 2018-02-28 17:34:42 UTC
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.
Comment 7 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2018-03-08 18:36:35 UTC
(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.
Comment 8 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2018-04-06 00:20:56 UTC
Closing as fixed.
Patch committed in https://github.com/gonzoua/bugzilla/commit/575bb2b18bb4e3cd3215ac2370b988e83f5f4ec3