Page MenuHomePhabricator

UserInfoCard: Does not work for suppress blocked users
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

If a user is suppress blocked, the UserInfoCard data is not populated (see screenshot), the links are incorrect and you see the following warning in the browser console:

[Vue warn]: Invalid prop: type check failed for prop "username". Expected String with value "undefined", got Undefined  
  at <UserCardMenu username=undefined user-page-watched=false > 
  at <UserCardHeader username=undefined user-page-url="/wiki/User:Undefined" user-page-exists=false  ... > 
  at <UserCardView key="q01oo9" username="~2025-2591" container= 
<div class="ext-checkuser-userinfocard-container">
  ... > 
  at <KeepAlive> 
  at <App> load.php:383:35
Environment

Wiki(s): local docker CheckUser 2.5 (200b172) 07:27, 17 June 2025.

Screenshots

suppressed_user.png (327×434 px, 36 KB)

Event Timeline

I'm not able to reproduce this locally, is this still occurring for you?

I'm not able to reproduce this locally, is this still occurring for you?

Testing on testwiki, I do seem to be getting information for suppressed users (I have not checked if it is always correct). The "past blocks" number is always negative (for all the ones I have seen anyway) which I guess is a bug.

kostajh claimed this task.

I'm not able to reproduce this locally, is this still occurring for you?

Testing on testwiki, I do seem to be getting information for suppressed users (I have not checked if it is always correct). The "past blocks" number is always negative (for all the ones I have seen anyway) which I guess is a bug.

The negative past blocks issue is addressed in rECHUf40eb535e488: UserInfo: Include suppression blocks in past blocks count