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

未关闭
#141 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Category: Coding Status: On Hold Type: Bug
主要语言
Python
星标
24
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

**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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。