Investigate: New sidebar occasionally loses categories


Repro steps:
1. Be a member of at least 2 teams
2. Create a few custom categories on each team with a DM/GM in at least one of them
3. Leave the team with a DM in a custom category or have another user remove you from that team
4. Refresh the page

Expected: The custom categories remain populated on the second team
Observed: The custom categories remain on the second team, but all channels in them are moved back to Channels or Direct Messages


We've had a few user reports that their sidebar categories disappeared randomly. A few things have stood out to me so far:

  • The SidebarCategories themselves don't disappear, but the SidebarChannels disappear from them.

  • I'm not sure if this happens on a per team or per user basis.

  • One user saw it happen, but he didn't see any requests made to any /categories endpoints

  • A couple of the reports that have come in were on Postgres, so there might be some correlation there.

Here are some conversations on it:

QA Test Steps

See description


Jelena Gilliam
February 4, 2021, 7:57 PM

Tested and Passed on v.5.31.1-rc1 and v5.32-rc2. Closing.

Jelena Gilliam
January 25, 2021, 11:18 PM

Tested and Passed on the latest cloud
(Version 495a8150_2bd65f08_6f9a1e441
Build Date:Β Thu Jan 21 17:53:13 UTC 2021)

  • Custom categories are no longer emptying when user is removed/leaves a team.
    QA note: Test case added and linked. This will be closed after v.5.32 testing.

Eric Sethna
December 8, 2020, 6:58 PM
Your pinned fields
Click on the next to a field label to start pinning.




Harrison Healey

QA Assignee

Jelena Gilliam


Harrison Healey

Mattermost Team

Web Platform [Messaging]

QA Testing Areas