Registration when Person entity already exists causes duplicate email entry

Bug #322679 reported by Pidge Pidge
2
Affects Status Importance Assigned to Milestone
Pidge
Confirmed
Medium
Pidge Pidge

Bug Description

Traceback (most recent call last):
 File "/var/www/sites/mypidge/django/Apps/Users/views.py", line 186, in RegisterDetails
   newuser, activate = userform.save()

 File "/var/www/sites/mypidge/django/Apps/Users/forms.py", line 110, in save
   user = super(RegisterForm, self).save(*args, **kwargs)

 File "/usr/lib/python2.4/site-packages/django/forms/models.py", line 302, in save
   return save_instance(self, self.instance, self._meta.fields, fail_message, commit)

 File "/usr/lib/python2.4/site-packages/django/forms/models.py", line 59, in save_instance
   instance.save()

IntegrityError: (1062, "Duplicate entry '<email address hidden>' for key 2")

Caused where a Person with the email address already exists then tries to register.

Revision history for this message
Pidge Pidge (pidgeon690) wrote :

Currently working on

Changed in pidge:
assignee: nobody → frf
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.