mentorship-backend icon indicating copy to clipboard operation
mentorship-backend copied to clipboard

Error message for field 'name' is not filled

Open faznan3nazer opened this issue 5 years ago • 11 comments
trafficstars

If the field 'name' is not filled in the input an appropriate error message should be showned and listed under the 400 Responses. To Reproduce

Steps to reproduce the behavior:

  1. Go to 'User-Register'

  2. { "name": "", "username": "testua", "password": "testua123", "email": "[email protected]", "terms_and_conditions_checked": true, "need_mentoring": true, "available_to_mentor": true }

  3. Click on 'Execute'.

  4. Scroll down to 'Response'

Screenshot (16)

Expected behavior The error message should be listed under 400 error messages

Desktop (please complete the following information):

  • OS: Windows10
  • Browser Chrome

faznan3nazer avatar May 05 '20 19:05 faznan3nazer

This is awesome @faznan3nazer 👏 thank you for creating these issues as separates 🙌

isabelcosta avatar May 05 '20 21:05 isabelcosta

Hi @faznan3nazer and @isabelcosta I am interested in working on this issue. If no one else is working on it, could you please assign it to me? Thanks!

Ritika5901234 avatar May 08 '20 18:05 Ritika5901234

@Ritika5901234 There you go!

SanketDG avatar May 08 '20 20:05 SanketDG

thanks

Ritika5901234 avatar May 08 '20 21:05 Ritika5901234

Hi, if this issue is available to work on. Can you please assign it to me?

engineerrbae avatar Sep 13 '21 22:09 engineerrbae

Sure @engineerrbae :) will assign to you!

isabelcosta avatar Sep 13 '21 22:09 isabelcosta

Hey, thanks for the quick action. Is this a user-specific issue? As I tried to reproduce it at my end but, I am not able to replicate the issue.

engineerrbae avatar Sep 14 '21 21:09 engineerrbae

@engineerrbae sorry for the delay. This is not user-specific I think. Have you tried the test data from the ticket?

{
"name": "",
"username": "testua",
"password": "testua123",
"email": "[email protected]",
"terms_and_conditions_checked": true,
"need_mentoring": true,
"available_to_mentor": true
}

I think all you need is name to be empty. This ticket is about the error message not showing up in the Swagger documentation.

image

Are you still interested in working on this?

isabelcosta avatar Oct 09 '21 18:10 isabelcosta

Hi, is anyone working on this right now? I would love to claim it if not! @vj-codes

umichritikashetty avatar Nov 07 '22 02:11 umichritikashetty

Assigning you @umichritikashetty Happy coding!

vj-codes avatar Nov 15 '22 12:11 vj-codes

@engineerrbae Unassigning you due to inactivity

vj-codes avatar Nov 15 '22 12:11 vj-codes