RocketChat / RocketChat/Rocket.Chat
Room not found error when switching type of channel
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When changing type of channel from public to private or private to public sometimes an error occurs. it is probably because for private rooms url have group/name in it but for public it has channel/name so when updating sometimes url does not changes and hence we are directed to room not found error
Steps to reproduce:
- Create a channel
- Go to room info and then edit room info
- Change room type.
- Repeat the process one time
Expected behavior:
Home page of room should appear with changed url
Actual behavior:
Room not found error appears and url is ssame as previous
Server Setup Information:
- Version of Rocket.Chat Server: 5.5
- Operating System: Ubuntu 22.04 LTS
- NodeJS Version: v14.21.2
Client Setup Information
- Desktop App or Browser Version:Browser Version
- Operating System: Ubuntu 22.04 LTS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by changing a channel between public and private twice, using the listed steps and Rocket.Chat 5.5 setup details. Trace the room URL handling from the room-info edit flow; done means the room opens after each change and the URL uses the changed room type rather than showing a room-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100