gray-mueller / gray-mueller/salon-solution-system-backend

While editing user's name the system doesn't allow the operation because the number is already registered with the old name

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
i wanted to change the name of the user and i was not able to that because the system used to give an alert on the phone number
i wanted to change the name associated with that phone number but the system didn't allow it

To Reproduce
Steps to reproduce the behavior:

Go to 'user displayed profile'
Click on 'profile'
edit name
See error
Expected behavior
the name associated with the preexisting number shall be changed immediately.

Screenshots
image

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the profile name edit in Chrome and tracing the backend request and validation that raises the phone-number alert. The fix is complete when a user can change the name associated with an existing phone number without the operation being rejected.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.