Skip to content

Deleted user appears as "Failed to execute the [useravatar] macro" #48

Description

@ane-gabriela

Steps to reproduce:

  1. Log in as Admin
  2. Create a poll on a main wiki or subwiki
  3. As 2/3 simple users vote
  4. Log in as Admin again
  5. Delete a user that voted
  6. Observe the results in the Poll

Expected results: The name of the user still appears grayed out.

Actual results: "Failed to execute the [useravatar] macro. Cause: [User [XWiki.user02] is not registered in this wiki]. Click on this message for details"

11.7:
11 7BeforeDeleteUser
11 7AfterRemoval

10.11.9:
10 11 9-DeletedUser

Environment: Windows 10, XWiki 10.11.9 Standard and 11.7 with MySQL 5.7 and Edge 18

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions