Mentorship-backend: Delete relation when the user did not create the request - throws wrong error message

Created on 28 Aug 2020  路  20Comments  路  Source: anitab-org/mentorship-backend

Describe the bug

When a user tries to delete a relation that was not created by that user, a wrong error message is recieved.

To Reproduce

Steps to reproduce the behavior:

  1. Login as testuserd
  2. Delete a mentorship relation between testuserc and testuserb

This error message is recieved "This mentorship relation is not in the pending state."

Expected behavior
Expected error message is - "you cannot delete a mentorship request that you did not create."

Screenshots
Screenshot from 2020-08-28 13-29-05

Coding

All 20 comments

Hey @rpattath I would like to work on this issue.

Hi @rpattath, is this issue taken for OSH? If not I would be happy to take that.

I have assigned this to @divyanshugit
@dowenrei let me know if you do not find any other issue to work. I will assign this issue to you as well.

@rpattath I will prefer to work on new issue and will try to find one. Ping me if there's any. Thanks

if available can you pls assign it to me as i have no any other issues assigned yet

@dowenrei @pallavisavant would either of you be interested in working on this issue

i will go ahead pls assign it to me thanks

@pallavisavant awesome ! please comment on that issue.

@divyanshugit any updates ? Let me know if you are facing any issues or have any concerns.

Removing @divyanshugit from this issue because of no response.

@dowenrei would you like to work on this issue?

@rpattath yes sure!

@rpattath I was unable to give you any updates. Because of the electricity shutdown in my area, The shutdown was caused by storm. I will look on other issues.

Hi,

I am up for this issue. I have one assigned issue which is resolved and I have created PR which is in review state.

@divyanshugit I am really sorry to hear that. Hope you find another issue soon.

@Ashokrayal please look for other issues that have Available label.

@dowenrei if you have created a PR make sure you use the correct formatting for the issue. If the PR is formatted correctly we will see a message like below on this issue.
Screenshot from 2020-09-09 19-10-45

@rpattath fixed. Is the PR looks okay?

@vj-codes Can I take it? :slightly_smiling_face:

@NenadPantelic Assigning you. Happy Coding : ) .

Thanks @epicadk :slightly_smiling_face:

Was this page helpful?
0 / 5 - 0 ratings