Page MenuHomePhabricator

JS error on Special:EventDetails when a non-organizer tries to use the username filter
Closed, ResolvedPublic0 Estimated Story Points

Description

To reproduce:

  • Log out
  • Go to Special:EventDetails for any event that has participants
  • Enter something in the username search input

Expected: No errors
Actual: The following error appears in the console:

Uncaught TypeError: Cannot read properties of undefined (reading 'setLabel')
    at ParticipantsManager.js.ParticipantsManager.onDeselectAll

Event Timeline

Change 849660 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Fix JS error on Special:EventDetails

https://gerrit.wikimedia.org/r/849660

Daimona set the point value for this task to 0.

Discovered this while working on private registration, the fix is trivial.

Change 849660 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Fix JS error on Special:EventDetails

https://gerrit.wikimedia.org/r/849660

vaughnwalters subscribed.

✅ When logged out and searching for a participant, no errors appear in the console

Screen Recording 2022-10-28 at 11.33.46 AM.gif (1×2 px, 443 KB)

ifried subscribed.

This now works as expected (see attached screenshot), so I'm marking this as Done.

Screen Shot 2022-11-01 at 4.55.52 PM.png (1×2 px, 179 KB)