User API errors out when creating a user with an email

RESOLVED FIXED in 2015Q1

Status

P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: rehan, Assigned: mythmon)

Tracking

unspecified
2015Q1

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=api c=users p=1 s=2015.3)

(Reporter)

Description

4 years ago
When I attempt to create a user with an email address provided I get an IntegrityError (1062, "Duplicate entry '1137886' for key 'PRIMARY'").

This is likely related to the way create_inactive_user works.
(Reporter)

Updated

4 years ago
Blocks: 1123766
(Assignee)

Comment 1

4 years ago
Taking this and adding sprint metadata.
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
Whiteboard: u=api c=users p=1 s=2015.3
Rehan: Could you review this? This will help to review bug 1123766.
Flags: needinfo?(rdalal)
Deployed to stage and prod:
https://github.com/mozilla/kitsune/commit/3e17ada9dc3200479da9be940a3e1a0d2ee2a03d
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(rdalal)
Resolution: --- → FIXED
Priority: -- → P2
Target Milestone: --- → 2015Q1
You need to log in before you can comment on or make changes to this bug.