Investigate: New sidebar occasionally loses categories

Description

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

Activity

Show:
Eric Sethna
December 9, 2020, 5:58 AM
Eric Sethna
December 17, 2020, 8:59 AM
Jelena Gilliam
January 26, 2021, 10:18 AM

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.

Jelena Gilliam
February 5, 2021, 6:57 AM

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

Done

Mana

2

Assignee

Harrison Healey

QA Assignee

Jelena Gilliam

Reporter

Harrison Healey

Mattermost Team

Web Platform

Sprint

None

QA Testing Areas

LHS

GitHub Issue

None

Components

None

Severity

None