View Issue Details

IDProjectCategoryView StatusLast Update
0024239mantisbtemailpublic2018-04-13 13:14
Reporterj_schultzAssigned Toatrol 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.12.0 
Target Version2.13.2Fixed in Version2.13.2 
Summary0024239: Inconsistent realname display
Description

I have noticed that on this bugtracker right here, I cannot see real names of any users. For example, if I go to https://www.mantisbt.org/bugs/view_user_page.php?id=11111 I do not see @atrol's real name.
However, when I receive an email notification, I do see his real name there. From what I understand, I shouldn't be able to see the real name there, because it is also hidden everywhere else.

TagsNo tags attached.

Relationships

related to 0023375 closedvboctor It is hard to @ mention users when show realnames is enabled 

Activities

atrol

atrol

2018-04-09 15:16

developer   ~0059495

Thanks @j_schultz for letting us know.

I disabled $g_show_realname for the moment.

Can you confirm that you don't see my real name in the email notification for this change?

j_schultz

j_schultz

2018-04-09 15:20

reporter   ~0059496

The mail I received for the mention only contained your username, yes.

atrol

atrol

2018-04-09 16:48

developer   ~0059497

PR https://github.com/mantisbt/mantisbt/pull/1330

Related Changesets

MantisBT: master-2.13 8fd2701b

2018-04-09 16:34:14

atrol

Details Diff
Send always usernames in email notifications

Don't send realnames if $g_show_realname = ON;

This is a quick workaround as a clean solution needs some redesign.

At the moment $g_show_user_realname_threshold is considered based
on the current user.
This is wrong, as the option must be considered based on the
recipient of the notification.

Fixes 0024239
Affected Issues
0024239
mod - core/email_api.php Diff File

Issue History

Date Modified Username Field Change
2018-04-09 13:53 j_schultz New Issue
2018-04-09 15:14 atrol Relationship added related to 0023375
2018-04-09 15:16 atrol Product Version 2.13.1 => 2.12.0
2018-04-09 15:16 atrol Note Added: 0059495
2018-04-09 15:20 j_schultz Note Added: 0059496
2018-04-09 16:47 atrol Assigned To => atrol
2018-04-09 16:47 atrol Status new => assigned
2018-04-09 16:47 atrol Target Version => 2.13.2
2018-04-09 16:48 atrol Note Added: 0059497
2018-04-13 13:14 atrol Changeset attached => MantisBT master-2.13 8fd2701b
2018-04-13 13:14 atrol Status assigned => resolved
2018-04-13 13:14 atrol Resolution open => fixed
2018-04-13 13:14 atrol Fixed in Version => 2.13.2