unity-renderer icon indicating copy to clipboard operation
unity-renderer copied to clipboard

[QA] An error triggers when a user attempts to accept/decline a friend request from a blocked user

Open anicalbano opened this issue 1 year ago • 1 comments

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:

  1. USER B sends a friend request to USER A
  2. USER A blocks USER B before making other action
  3. USER A attempts to ACCEPT/DECLINE USER B - an error is triggered by this -
  4. USER A closes the toast
  5. USER A opens the Friend Request of USER B again and tries to select an option. An error is triggered
  6. 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

anicalbano avatar Sep 18 '23 19:09 anicalbano

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

lorux0 avatar Sep 19 '23 20:09 lorux0