unity-renderer
unity-renderer copied to clipboard
[QA] An error triggers when a user attempts to accept/decline a friend request from a blocked user
Issue Description:
Someone sends a friend request and before accepting or declining, the user blocks that person. Then, when the toast to decline / accept the invite is opened again this triggers an error. If the person is unblocked and the user tries declining / accepting again, there is a new error on the console and no action can be done. This is very edge, and the solution is delete app data an clear cache.
Steps to reproduce:
- USER B sends a friend request to USER A
- USER A blocks USER B before making other action
- USER A attempts to ACCEPT/DECLINE USER B - an error is triggered by this -
- USER A closes the toast
- USER A opens the Friend Request of USER B again and tries to select an option. An error is triggered
- USER A unblocks USER B and tries to ACCEPT/DECLINE the friend request.
Expected behaviour:
An error message or toast must inform USER A that USER B is blocked and neither option can be selected untill the user is unblocked.
Current behaviour:
There is an error being triggered by the acctions described, but the user doesn't recieve information about the reason.
Reproduction rate:
5/5
Severity:
Medium
Platforms:
- [ ] Windows
- [ ] Mac
- [X] Not platform specific
Browser:
- [X] Google Chrome
- [ ] Microsoft Edge
- [ ] Firefox
Environment:
- [X] Production
- [ ] Branch specific
- [ ] Release Branch
Additional Notes:
Evidence:
https://github.com/decentraland/unity-renderer/assets/139157886/b42155d9-40f3-4c48-aebc-c61b63c3f980
The blocked user list only exists in the client, there is no such thing in the client service. In order to get it working properly it needs to be implemented in the backend