gray-mueller / gray-mueller/online-food-ordering-platform-in-python

Enatega SingleVendor Admin Allowing Gap in Rider Username and Accepting Negative Values in Phone Number Field

Open
#1,698 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
I have identified two critical issues in the Enatega SingleVendor Admin system within the rider section. Firstly, the system currently allows users to create rider usernames with gaps, potentially leading to confusion and errors. Secondly, the system accepts negative values in the phone number field, which can impact the ability to contact and manage riders effectively.

To Reproduce
Steps to reproduce the behavior:
Issue 1 (Gap in Rider Username):

Log in to the Enatega SingleVendor Admin system.
Navigate to the rider management section.
Create or edit a rider profile.
Attempt to set a username with a gap (e.g., "john doe" instead of "johndoe").
Issue 2 (Negative Value in Phone Number Field):

Log in to the Enatega SingleVendor Admin system.
Navigate to the rider management section.
Create or edit a rider profile.
Attempt to input a negative value in the phone number field.
Expected behavior
Expected Behavior - Issue 1:
The system should validate and restrict users from creating usernames with gaps, ensuring consistency and preventing potential issues with user identification.

Expected Behavior - Issue 1:
The system should validate and restrict users from creating usernames with gaps, ensuring consistency and preventing potential issues with user identification.

Screenshots
image

Desktop:

Browser : chrome
Additional context
Please investigate and address these issues promptly to enhance the reliability and functionality of the Enatega SingleVendor Admin system.

Thank you for your attention to these matters.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing both cases in the Enatega SingleVendor Admin rider management section using the listed Chrome steps. Trace the rider username and phone number validation entry points; the work is done when usernames containing gaps and negative phone values are rejected for both rider creation and editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.