Use the user display name instead of the username on the user authoring information in the node edit form

Created on 19 November 2020, over 4 years ago
Updated 27 January 2023, about 2 years ago

Problem/Motivation

When editing a node, the authoring information displays the user account name, the display name should be used instead.

Steps to reproduce

In an installation with some module that implements hook_user_format_name_alter implementation, like Real Name module โ†’ , edit any existing node. The account name is always used as the author name in the node status information, even for users with a different display name.

Proposed resolution

Replace the current call to AccountInterface::getAccountName() by AccountInterface::getDisplayName().

Remaining tasks

Review, tests.

User interface changes

As described in description.

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

๐Ÿ› Bug report
Status

Needs work

Version

10.1 โœจ

Component
Node systemย  โ†’

Last updated about 3 hours ago

No maintainer
Created by

๐Ÿ‡ช๐Ÿ‡ธSpain manuel.adan ๐ŸŒŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024