Skip to content

[BUG] Delete room broken on client side #11897

@ThomasRoehl

Description

@ThomasRoehl

Description:

When deleting a room the browser still shows the room. Only the subscription gets deleted on the client side.
After creating a new room with the same name it shows the old room, including the messages and the open tab.

Steps to reproduce:

  • create room
  • write message
  • delete room
  • recreate with the same name

Expected behavior:

The room gets deleted and is not shown in the client anymore (go to home screen e.g.)
When creating a new room with the same name, a new empty room is shown.

Actual behavior:

After deleting the room
image

After recreating the room with same name
image

Same room in different browser (safari)
image

Server Setup Information:

Tested on Chrome browser.

+-----------------------------------------------+
| SERVER RUNNING |
+-----------------------------------------------+
| |
| Rocket.Chat Version: 0.69.0-develop |
| NodeJS Version: 8.11.3 - x64 |
| Platform: darwin |
| Process Port: 28694 |
| Site URL: http://localhost:3000/ |
| ReplicaSet OpLog: Enabled |
| Commit Hash: 135c6f8 |
| Commit Branch: develop |
| |
+-----------------------------------------------+

Additional context

This bug is only on client side.
The deleted room is not shown and the recreated room is empty in an additional incognito window

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions