anitab-org / anitab-org/bridge-in-tech-backend

Bug: Update user personal details is not working if the same username is used | CROSS PROJECT ISSUE

Đang mở
#141 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Category: Coding Status: On Hold Type: Bug
Ngôn ngữ chính
Python
Star
24
Fork
80
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**
Edit the personal information of the logged in user is not working.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'My Space -> Profile -> Personal Details"
2. Change any field.
3. Save the changes
4. See error
INFO:werkzeug:127.0.0.1 - - [18/Sep/2020 11:07:36] "OPTIONS /user/personal_details HTTP/1.1" 200 -
CRITICAL:root:{'message': 'A user with that username already exists.'}
127.0.0.1 - - [18/Sep/2020 11:07:36] "PUT /user/personal_details HTTP/1.1" 400 -
INFO:werkzeug:127.0.0.1 - - [18/Sep/2020 11:07:36] "PUT /user/personal_details HTTP/1.1" 400 -

**Expected behavior**
Personal detail update should be successful

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: Fedora linux
- Browser: Chrome

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.