Mentorship-backend: Error message for entering Email id which was not registered a user under "Sends the user a new verification email"

Created on 11 Aug 2020  路  24Comments  路  Source: anitab-org/mentorship-backend

Describe the bug

When we enter mail id which is not registered any user, an appropriate error message should be shown and listed under the Responses.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'user-Sends the user a new verification email'
  2. Provide the email id
  3. {
    "email": "[email protected]"
    }
  4. Click on 'Execute'.
  5. Scroll down to 'Responses'.

  6. Screenshot (280)

Expected behavior
That error message should be listed in the responses.

Desktop (please complete the following information):

  • OS: windows10
  • Browser chrome
Coding First Timers Only Available Bug

Most helpful comment

@ashwinijha6 I'm not a OSH mentor, but backend and android repo project manager best is to ask from mentors:)
If I know what is to be done when you'll be working on next issues, I will definitely help

No problem @vj-codes u helped me a lot I have written to @SanketDG & @PrashanthPuneriya I'm sure I will get answers to my query
Looking forward to solving new issues & ur guidance.

All 24 comments

@faznan3nazer I would like to work on this issue

@faznan3nazer I would like to work on this issue as an OSH participant

@anna4j & @isabelcosta could u pls assign me this issue

Sure assigning you! @ashwinijha6

I would like to work on this issue.. Can you please assign this to me for Open-Source Hack?

Aren't you assigned to an issue on Android repo already @faznan3nazer

I would like to work on this issue .

Aren't you assigned to an issue on Android repo already @faznan3nazer

Yes... After completing that I would like to work on this issue...!

@ashwinijha6 how's the PR going?

@anna4j I'm getting the error
mentorship

An appropriate error message should be shown under the responses so what should be I message like do u mean to say
HTTPStatus.OK.description gives the message Request fulfilled, document follows
So this should be the case with each of the Http status or I'm getting it wrong?

Does it refer the ERROR:NOT FOUND?

If this is available i would like to work on this..Thanks.

@ashwinijha6 how about 404 : ' Please register as a user first to get a verification email '

@ashwinijha6 how about 404 : ' Please register as a user first to get a verification email '

@ashwinijha6 @faznan3nazer what do you say

@ashwinijha6 how about 404 : ' Please register as a user first to get a verification email '

ok ya I got it so that must be added to the responses section that is along with HttpStatus Not found or in place of that?

@vj-codes I have made the changes in #851
Should this message USER_IS_NOT_REGISTERED_IN_THE_SYSTEM be used as it is also used in the later part of the code ?
use

@vj-codes I have made the changes in #851
Should this message USER_IS_NOT_REGISTERED_IN_THE_SYSTEM be used as it is also used in the later part of the code ?
use

USER_IS_NOT_REGISTERED_IN_THE_SYSTEM as in messages.py is You are not registered in the system

@ashwinijha6 honestly I have no idea, this issue still doesn't make much sense to me unlike all other issues where I was sure what was to be done
Maybe @PrashanthPuneriya @SanketDG could help

@ashwinijha6 honestly I have no idea, this issue still doesn't make much sense to me unlike all other issues where I was sure what was to be done
Maybe @PrashanthPuneriya @SanketDG could help

ok no issues @vj-codes thanx for the help I will ask @PrashanthPuneriya or @SanketDG

@SanketDG & @PrashanthPuneriya I had certain queries related to this issue as stated above & I have also sent a pull request #851 regarding this could u'll please review it & tell me the necessary changes to be made.

@ashwinijha6 I'm not a OSH mentor, but backend and android repo project manager best is to ask from mentors:)
If I know what is to be done when you'll be working on next issues, I will definitely help

@ashwinijha6 I'm not a OSH mentor, but backend and android repo project manager best is to ask from mentors:)
If I know what is to be done when you'll be working on next issues, I will definitely help

No problem @vj-codes u helped me a lot I have written to @SanketDG & @PrashanthPuneriya I'm sure I will get answers to my query
Looking forward to solving new issues & ur guidance.

Is this issue still available? can I claim this issue?

Was this page helpful?
0 / 5 - 0 ratings