View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0024090 | mantisbt | ui | public | 2018-03-08 20:06 | 2018-07-09 16:52 |
| Reporter | clan_destina | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 2.12.1 | Fixed in Version | 2.12.1 | ||
| Summary | 0024090: Username (Realnames) format not showing on timeline (my_view_page) | ||||
| Description | If the variable: The realname on the timeline should be displayed: Username (RealName) instead of just the RealName | ||||
| Tags | No tags attached. | ||||
| related to | 0024087 | closed | atrol | $g_show_realname problem on 2.12.0 |
| related to | 0024161 | closed | atrol | Wrong color of username in timeline |
| related to | 0024069 | closed | vboctor | Show realname not working |
| related to | 0024167 | closed | atrol | History entries display realname instead of username |
| related to | 0024077 | closed | vboctor | Hyperlink usernames in timeline to user page |
|
Does adding the following line to file config_inc.php fix the issue? |
|
|
I'm checking the code because I'm not able to display realnames on combo, and seems that refactoring in 2.12.0 has introduced this problem If you want I will open a new issue related to this. Anyway IMHO, the choice of 'username (realname)' at least on combos has to be configurable and not the default as seems to be on 2.12.0 |
|
|
Common error write before test => the error on user_get_expanded_name_from_row() is that return value is:
|
|
|
I've added $g_show_user_realname_threshold = VIEWER; |
|
|
$g_show_user_realname_threshold = ANYBODY; The problem persists |
|
|
I have submitted a PR that changes timeline to use the standard API for displaying usernames This means:
|
|
|
MantisBT: master-2.12 02d8b8af 2018-03-12 17:47 Details Diff |
Use standard API to display username in timeline Fixes 0024090 |
Affected Issues 0024090 |
|
| mod - core/classes/IssueAssignedTimelineEvent.class.php | Diff File | ||
| mod - core/classes/IssueCreatedTimelineEvent.class.php | Diff File | ||
| mod - core/classes/IssueMonitorTimelineEvent.class.php | Diff File | ||
| mod - core/classes/IssueNoteCreatedTimelineEvent.class.php | Diff File | ||
| mod - core/classes/IssueStatusChangeTimelineEvent.class.php | Diff File | ||
| mod - core/classes/IssueTagTimelineEvent.class.php | Diff File | ||