Use account name instead of display name in reassign task form

Created on 29 April 2025, 11 days ago

Problem/Motivation

There's a bug when you use the Drupal\maestro\Form\MaestroReassign to reassign a task to someone else. The form records the display name of the selected user rather than their account name. As a result, the new user never sees the assigned task.

Steps to reproduce

In a task view, in the operations, select the β€˜Reassign {accountName}’ operation for a task.
In the open form, select a new user and save.

Proposed resolution

In Drupal\maestro\Form\MaestroReassign, line 157, use the getAccountName method rather than the getDisplayName method.

In maestro_production_assignments table and everywhere in Maestro, the account name is used to identify users.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium emulamba

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024