Sticky "Group cannot be deleted" message

AI-generated summary

tvavrda reported a bug where the “This is an automatic group and cannot be deleted” error message persists after navigating away from a built-in group to a user-defined one. The issue occurs because the notification is not cleared when switching contexts, leading to misleading feedback on groups that can actually be deleted. sam acknowledged the report and applied the pr-welcome tag. Later, sam confirmed that j.jaffeux had already fixed the problem in PR #31094.

Repro steps:

  1. Go to Groups page
  2. Select some built-in group (e.g. Admins)
  3. Click on the Delete which displays the This is an automatic group and cannot be deleted. message
  4. Go back and select some user-defined group
  5. Result: The error message is still there although it is not relevant anymore.

6 Likes

Thanks for the report, putting a pr-welcome on this.

3 Likes

Quick update @j.jaffeux fixed this quite a while ago in: FIX: reset the delete automatic group tooltip - Pull Request #31094 - discourse/discourse - GitHub

:hugs:

1 Like